Completed
Branch develop (9f43d2)
by Filipe
05:14
created
src/ContainerBuilder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      */
74 74
     protected function hydrateContainer($definitions)
75 75
     {
76
-        if (! is_array($definitions)) {
76
+        if (!is_array($definitions)) {
77 77
             $this->hydrateFromFile($definitions);
78 78
             return;
79 79
         }
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
      */
91 91
     protected function hydrateFromFile($definitions)
92 92
     {
93
-        if (! is_file($definitions)) {
93
+        if (!is_file($definitions)) {
94 94
             $this->hydrateFromDirectory($definitions);
95 95
             return;
96 96
         }
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
             $directory = new \RecursiveDirectoryIterator($definitions);
106 106
         } catch (\Exception $caught) {
107 107
             throw new InvalidDefinitionsPathException(
108
-                'Provided definitions path is not valid or is not found. ' .
108
+                'Provided definitions path is not valid or is not found. '.
109 109
                 'Could not create container. Please check '.$definitions
110 110
             );
111 111
         }
Please login to merge, or discard this patch.
src/Definition/Alias.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,9 +51,9 @@
 block discarded – undo
51 51
      */
52 52
     public function resolve()
53 53
     {
54
-        if (! $this->container instanceof ContainerInterface) {
54
+        if (!$this->container instanceof ContainerInterface) {
55 55
             throw new ContainerNotSetException(
56
-                "No container was set for definition. " .
56
+                "No container was set for definition. ".
57 57
                 "It is not possible to look for alias '{$this->alias}'"
58 58
             );
59 59
         }
Please login to merge, or discard this patch.
src/Container.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
      */
126 126
     protected function resolve($name)
127 127
     {
128
-        if (! array_key_exists($name, self::$instances)) {
128
+        if (!array_key_exists($name, self::$instances)) {
129 129
             $entry = $this->definitions[$name];
130 130
             return $this->registerEntry($name, $entry);
131 131
         }
Please login to merge, or discard this patch.