Completed
Pull Request — master (#3)
by Korotkov
01:36
created
src/Container.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -249,7 +249,7 @@
 block discarded – undo
249 249
      * @param string $key
250 250
      * @param string $param
251 251
      *
252
-     * @return bool
252
+     * @return boolean|null
253 253
      */
254 254
     public function hasParam(string $key, string $param)
255 255
     {
Please login to merge, or discard this patch.
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -230,11 +230,11 @@
 block discarded – undo
230 230
         }
231 231
     }
232 232
 
233
-     /**
234
-     * @param string $key
235
-     *
236
-     * @return mixed|string
237
-     */
233
+        /**
234
+         * @param string $key
235
+         *
236
+         * @return mixed|string
237
+         */
238 238
     public function getBinding(string $key)
239 239
     {
240 240
         return $this->bind[$key] ?? $key;
Please login to merge, or discard this patch.
src/tests/ContainerTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     }
55 55
 
56 56
     /**
57
-     * @return mixed
57
+     * @return ContainerInterface
58 58
      */
59 59
     protected function container(): ContainerInterface
60 60
     {
Please login to merge, or discard this patch.
src/ContainerTrait.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-     * @param $key
41
+     * @param string $key
42 42
      *
43 43
      * @return mixed
44 44
      */
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     }
49 49
 
50 50
     /**
51
-     * @param      $object
51
+     * @param      string $object
52 52
      * @param null $params
53 53
      *
54 54
      * @return mixed
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     }
104 104
 
105 105
     /**
106
-     * @return mixed
106
+     * @return ContainerInterface
107 107
      */
108 108
     abstract public function container(): ContainerInterface;
109 109
 }
Please login to merge, or discard this patch.