PHP Coding Standards Fixer > fix coding standard

This commit is contained in:
Meritoo
2019-04-06 08:00:01 +02:00
parent 0f64705132
commit a13a629408
71 changed files with 812 additions and 1133 deletions

View File

@@ -8,8 +8,6 @@
namespace Meritoo\Common\Utilities;
use stdClass;
/**
* Useful Composer-related methods (only static functions)
*
@@ -23,14 +21,14 @@ class Composer
*
* @var string
*/
const FILE_NAME_MAIN = 'composer.json';
public const FILE_NAME_MAIN = 'composer.json';
/**
* Returns value from composer.json file
*
* @param string $composerJsonPath Path of composer.json file
* @param string $nodeName Name of node who value should be returned
* @return string|null
* @return null|string
*/
public static function getValue($composerJsonPath, $nodeName)
{
@@ -63,7 +61,6 @@ class Composer
return null;
}
/* @var stdClass $data */
return $data->{$nodeName};
}
}