Completed
Branch master (0a977a)
by Olivier
04:56
created
lib/ContainerProxy.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
 	}
134 134
 
135 135
 	/**
136
-	 * @return array
136
+	 * @return Extension\ApplicationExtension[]
137 137
 	 */
138 138
 	private function collection_extensions()
139 139
 	{
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -195,6 +195,6 @@
 block discarded – undo
195 195
 	{
196 196
 		$dumper = new PhpDumper($container);
197 197
 
198
-		file_put_contents($pathname, $dumper->dump([ 'class' => $class ]));
198
+		file_put_contents($pathname, $dumper->dump(['class' => $class]));
199 199
 	}
200 200
 }
Please login to merge, or discard this patch.
lib/Extension/ApplicationExtension.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,8 +62,8 @@
 block discarded – undo
62 62
 			}
63 63
 
64 64
 			$definition = (new Definition('ICanBoogie\Dummy' . uniqid()))
65
-				->setFactory([ new Reference('app'), '__get' ])
66
-				->setArguments([ $id ]);
65
+				->setFactory([new Reference('app'), '__get'])
66
+				->setArguments([$id]);
67 67
 
68 68
 			$container->setDefinition($id, $definition);
69 69
 		}
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -51,12 +51,10 @@
 block discarded – undo
51 51
 			if (strpos($method, self::LAZY_GETTER_PREFIX) === 0)
52 52
 			{
53 53
 				$id = substr($method, strlen(self::LAZY_GETTER_PREFIX));
54
-			}
55
-			elseif (strpos($method, self::GETTER_PREFIX) === 0)
54
+			} elseif (strpos($method, self::GETTER_PREFIX) === 0)
56 55
 			{
57 56
 				$id = substr($method, strlen(self::GETTER_PREFIX));
58
-			}
59
-			else
57
+			} else
60 58
 			{
61 59
 				continue;
62 60
 			}
Please login to merge, or discard this patch.