Fix coding standards (using PHP Coding Standards Fixer)

This commit is contained in:
Meritoo
2019-04-02 12:03:53 +02:00
parent 7ddfcf6946
commit 1b4577cc8a
5 changed files with 9 additions and 9 deletions

View File

@@ -1506,7 +1506,7 @@ class Arrays
* *
* @param array $array The array to verify * @param array $array The array to verify
* @param mixed $element The element who index / key is needed * @param mixed $element The element who index / key is needed
* @return bool|null|mixed * @return bool|mixed|null
*/ */
public static function getIndexOf(array $array, $element) public static function getIndexOf(array $array, $element)
{ {
@@ -1594,7 +1594,7 @@ class Arrays
* *
* @param array $array The array with elements * @param array $array The array with elements
* @param mixed $element Element for who next element should be returned * @param mixed $element Element for who next element should be returned
* @return null|mixed * @return mixed|null
*/ */
public static function getNextElement(array $array, $element) public static function getNextElement(array $array, $element)
{ {
@@ -1606,7 +1606,7 @@ class Arrays
* *
* @param array $array The array with elements * @param array $array The array with elements
* @param mixed $element Element for who previous element should be returned * @param mixed $element Element for who previous element should be returned
* @return null|mixed * @return mixed|null
*/ */
public static function getPreviousElement(array $array, $element) public static function getPreviousElement(array $array, $element)
{ {

View File

@@ -68,7 +68,7 @@ class Date
* *
* @param int $period The period, type of period. One of DatePeriod class constants, e.g. DatePeriod::LAST_WEEK. * @param int $period The period, type of period. One of DatePeriod class constants, e.g. DatePeriod::LAST_WEEK.
* @throws Exception * @throws Exception
* @return null|DatePeriod * @return DatePeriod|null
*/ */
public static function getDatesForPeriod($period) public static function getDatesForPeriod($period)
{ {

View File

@@ -27,7 +27,7 @@ class QueryBuilderUtility
* If null is returned, alias was not found. * If null is returned, alias was not found.
* *
* @param QueryBuilder $queryBuilder The query builder to retrieve root alias * @param QueryBuilder $queryBuilder The query builder to retrieve root alias
* @return null|string * @return string|null
*/ */
public static function getRootAlias(QueryBuilder $queryBuilder) public static function getRootAlias(QueryBuilder $queryBuilder)
{ {
@@ -52,7 +52,7 @@ class QueryBuilderUtility
* *
* @param QueryBuilder $queryBuilder The query builder to verify * @param QueryBuilder $queryBuilder The query builder to verify
* @param string $property Name of property that maybe is joined * @param string $property Name of property that maybe is joined
* @return null|string * @return string|null
*/ */
public static function getJoinedPropertyAlias(QueryBuilder $queryBuilder, $property) public static function getJoinedPropertyAlias(QueryBuilder $queryBuilder, $property)
{ {

View File

@@ -577,7 +577,7 @@ class Reflection
* @param string $property Name of the property * @param string $property Name of the property
* @param int $filter (optional) Filter of properties. Uses \ReflectionProperty class constants. * @param int $filter (optional) Filter of properties. Uses \ReflectionProperty class constants.
* By default all properties are allowed / processed. * By default all properties are allowed / processed.
* @return null|\ReflectionProperty * @return \ReflectionProperty|null
*/ */
public static function getProperty($class, $property, $filter = null) public static function getProperty($class, $property, $filter = null)
{ {

View File

@@ -33,7 +33,7 @@ class QueryBuilderUtilityTest extends BaseTestCase
/** /**
* @param QueryBuilder $queryBuilder The query builder to retrieve root alias * @param QueryBuilder $queryBuilder The query builder to retrieve root alias
* @param null|string $rootAlias Expected root alias of given query builder * @param string|null $rootAlias Expected root alias of given query builder
* *
* @dataProvider provideQueryBuilderAndRootAlias * @dataProvider provideQueryBuilderAndRootAlias
*/ */
@@ -45,7 +45,7 @@ class QueryBuilderUtilityTest extends BaseTestCase
/** /**
* @param QueryBuilder $queryBuilder The query builder to verify * @param QueryBuilder $queryBuilder The query builder to verify
* @param string $propertyName Name of property that maybe is joined * @param string $propertyName Name of property that maybe is joined
* @param null|string $propertyAlias Expected alias of given property joined in given query builder * @param string|null $propertyAlias Expected alias of given property joined in given query builder
* *
* @dataProvider provideQueryBuilderAndPropertyAlias * @dataProvider provideQueryBuilderAndPropertyAlias
*/ */