Passed
Pull Request — master (#11)
by Dan
04:08
created
src/Knp/FriendlyContexts/Alice/Fixtures/Alice3/Loader.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
             $properties = $fixture->getSpecs()->getProperties();
53 53
             /** @var Property $property */
54 54
             foreach ($properties as $property) {
55
-                $spec[ $property->getName() ] = $property->getValue();
55
+                $spec[$property->getName()] = $property->getValue();
56 56
             }
57 57
 
58 58
             $cache[] = array($spec, $this->objects[$fixture->getId()]);
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 
70 70
     public function load($filename)
71 71
     {
72
-        if ( ! is_array($filename)) {
72
+        if (!is_array($filename)) {
73 73
             $filename = array($filename);
74 74
         }
75 75
         $this->objects = $this->loader->loadFiles($filename)->getObjects();
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
 
103 103
     private function finaliseAssociations()
104 104
     {
105
-        if ( ! $this->fixtureSet instanceof FixtureSet) {
105
+        if (!$this->fixtureSet instanceof FixtureSet) {
106 106
             return;
107 107
         }
108 108
 
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
             $spec = $fixture->getSpecs();
116 116
             foreach ($spec->getProperties() as $property) {
117 117
                 $value = $property->getValue();
118
-                if ( ! $value instanceof FixtureReferenceValue) {
118
+                if (!$value instanceof FixtureReferenceValue) {
119 119
                     continue;
120 120
                 }
121 121
 
Please login to merge, or discard this patch.