Completed
Push — master ( 2c9a51...3752f9 )
by Oscar
02:47
created
src/App.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     /**
55 55
      * Add a new factory.
56 56
      *
57
-     * @param string|int $id
57
+     * @param integer $id
58 58
      * @param callable   $factory
59 59
      *
60 60
      * @return self
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     /**
71 71
      * Add a new extension.
72 72
      *
73
-     * @param string|int $id
73
+     * @param integer $id
74 74
      * @param callable   $extension
75 75
      *
76 76
      * @return self
@@ -87,7 +87,6 @@  discard block
 block discarded – undo
87 87
      * Add a new factory.
88 88
      *
89 89
      * @param string|int $id
90
-     * @param callable   $service
91 90
      */
92 91
     private function createServiceIfNotExists($id)
93 92
     {
@@ -160,6 +159,7 @@  discard block
 block discarded – undo
160 159
      * Returns the absolute path of the app.
161 160
      *
162 161
      * @param string ...$dirs
162
+     * @param string[] $dirs
163 163
      *
164 164
      * @return string
165 165
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
             try {
130 130
                 return $this->items[$id] = array_reduce(
131 131
                     $this->services[$id],
132
-                    function ($item, $callback) {
132
+                    function($item, $callback) {
133 133
                         return $callback($this, $item);
134 134
                     }
135 135
                 );
Please login to merge, or discard this patch.