Skip to content

Commit d51e55d

Browse files
committed
Apply no_null_property_initialization PHP-CS-Fixer rule
1 parent 46a9d6e commit d51e55d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Mapping/Loader/YamlFileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class YamlFileLoader extends FileLoader
2929
*
3030
* @var array
3131
*/
32-
protected $classes = null;
32+
protected $classes;
3333

3434
public function __construct(string $file)
3535
{

Tests/Mapping/Loader/StaticMethodLoaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public static function loadMetadata(ClassMetadata $metadata)
119119

120120
class StaticLoaderEntity
121121
{
122-
public static $invokedWith = null;
122+
public static $invokedWith;
123123

124124
public static function loadMetadata(ClassMetadata $metadata)
125125
{

0 commit comments

Comments
 (0)