Completed
Push — master ( 0044c9...d21e96 )
by Dawid
04:19
created
src/Mapping/MetaData/PropertyMetaData.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -18,10 +18,10 @@  discard block
 block discarded – undo
18 18
     {
19 19
         $this->propertyName = $propertyName;
20 20
         $this->type = $type;
21
-        $this->accessor = function () use ($propertyName) {
21
+        $this->accessor = function() use ($propertyName) {
22 22
             return $this->$propertyName;
23 23
         };
24
-        $this->writer = function ($value) use ($propertyName)  {
24
+        $this->writer = function($value) use ($propertyName)  {
25 25
             $this->$propertyName = $value;
26 26
         };
27 27
     }
@@ -80,10 +80,10 @@  discard block
 block discarded – undo
80 80
     {
81 81
         $propertyName = $this->propertyName;
82 82
 
83
-        $this->accessor = function () use ($propertyName) {
83
+        $this->accessor = function() use ($propertyName) {
84 84
             return $this->$propertyName;
85 85
         };
86
-        $this->writer = function ($value) use ($propertyName)  {
86
+        $this->writer = function($value) use ($propertyName)  {
87 87
             $this->$propertyName = $value;
88 88
         };
89 89
     }
Please login to merge, or discard this patch.
src/Hydration/HydratorFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
                 break;
107 107
         }
108 108
 
109
-        $objectHydrator =  new $hydratorClass($this->entityManager);
109
+        $objectHydrator = new $hydratorClass($this->entityManager);
110 110
 
111 111
         if ($entityMeta->definesCustomHydrator()) {
112 112
             $customHydratorClass = $entityMeta->getCustomHydratorClass();
Please login to merge, or discard this patch.
src/Mapping/Strategy/FloatNumber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     public static function hydrate(&$value): void
10 10
     {
11
-        $value = (float) $value;;
11
+        $value = (float) $value; ;
12 12
     }
13 13
 
14 14
     public static function extract(&$value): void
Please login to merge, or discard this patch.
examples/custom_type_example.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,4 +104,4 @@
 block discarded – undo
104 104
 
105 105
 $track = $unitOfWork->get(Track::class, 1);
106 106
 
107
-$track->getComposer();// Instance of composer.
107
+$track->getComposer(); // Instance of composer.
Please login to merge, or discard this patch.
examples/custom_hydrator_example.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,4 +125,4 @@
 block discarded – undo
125 125
 
126 126
 $track = $unitOfWork->get(Track::class, 1);
127 127
 
128
-$track->getAlbum();// Unknown album.
128
+$track->getAlbum(); // Unknown album.
Please login to merge, or discard this patch.
src/Mapping/Collection/Collection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
      */
139 139
     public function every(callable $test): bool
140 140
     {
141
-        foreach($this as $item) {
141
+        foreach ($this as $item) {
142 142
             if (!$test($item)) {
143 143
                 return false;
144 144
             }
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
      */
155 155
     public function any(callable $test): bool
156 156
     {
157
-        foreach($this as $item) {
157
+        foreach ($this as $item) {
158 158
             if ($test($item)) {
159 159
                 return true;
160 160
             }
Please login to merge, or discard this patch.