Completed
Push — master ( 55aabb...f99bf7 )
by Boy
02:39
created
examples/delegate_params.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-require __DIR__ . "/../vendor/autoload.php";
3
+require __DIR__."/../vendor/autoload.php";
4 4
 
5 5
 class A {
6 6
     private $a;
@@ -21,12 +21,12 @@  discard block
 block discarded – undo
21 21
 $injector = new Auryn\Injector;
22 22
 
23 23
 $injector->define(A::class, [
24
-    "+a" => function () {
24
+    "+a" => function() {
25 25
         $std = new stdClass;
26 26
         $std->foo = "foo";
27 27
         return $std;
28 28
     },
29
-    "+b" => function () {
29
+    "+b" => function() {
30 30
         $std = new stdClass;
31 31
         $std->foo = "bar";
32 32
         return $std;
Please login to merge, or discard this patch.
examples/make_with_concrete_dependency.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 use Auryn\Injector;
4 4
 
5
-require __DIR__ . "/../vendor/autoload.php";
5
+require __DIR__."/../vendor/autoload.php";
6 6
 
7 7
 $injector = new Injector;
8 8
 
@@ -21,4 +21,4 @@  discard block
 block discarded – undo
21 21
     ":std" => $stdClass,
22 22
 ]);
23 23
 
24
-print $a->std->foo . PHP_EOL;
25 24
\ No newline at end of file
25
+print $a->std->foo.PHP_EOL;
26 26
\ No newline at end of file
Please login to merge, or discard this patch.