Completed
Pull Request — master (#154)
by Vítor
03:32
created
src/Http/Stream.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
      *
93 93
      * After the stream has been detached, the stream is in an unusable state.
94 94
      *
95
-     * @return resource|null
95
+     * @return resource
96 96
      */
97 97
     public function detach()
98 98
     {
Please login to merge, or discard this patch.
src/MicroApp.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -40,6 +40,9 @@
 block discarded – undo
40 40
         $this->add($uri, 'post', $callback);
41 41
     }
42 42
 
43
+    /**
44
+     * @param string $method
45
+     */
43 46
     public function add($uri, $method, $callback)
44 47
     {
45 48
         $this->routes[md5($uri . $method)] = array(
Please login to merge, or discard this patch.
src/Module/Controller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -458,7 +458,7 @@
 block discarded – undo
458 458
      * Get an option from the controller.
459 459
      *
460 460
      * @param string $option  The option name
461
-     * @param null   $default The default value if the option does not exist
461
+     * @param string   $default The default value if the option does not exist
462 462
      *
463 463
      * @return mixed
464 464
      */
Please login to merge, or discard this patch.
src/Router/LaravelRouter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     /**
32 32
      * Given a request object, find the matching route
33 33
      *
34
-     * @param Request $request
34
+     * @param SymfonyRequest $request
35 35
      * @return \Illuminate\Routing\Route
36 36
      */
37 37
     public function matchRequest(SymfonyRequest $request)
Please login to merge, or discard this patch.
src/ServiceManager/Factory/RouterRequestContextFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      *
26 26
      * @param ServiceLocatorInterface $serviceLocator
27 27
      *
28
-     * @return \PPI\Framework\Router\RouterListener
28
+     * @return RequestContext
29 29
      */
30 30
     public function createService(ServiceLocatorInterface $serviceLocator)
31 31
     {
Please login to merge, or discard this patch.
src/View/Twig/TwigEngine.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
     /**
71 71
      * Renders a template.
72 72
      *
73
-     * @param mixed $name       A template name
73
+     * @param string $name       A template name
74 74
      * @param array $parameters An array of parameters to pass to the template
75 75
      *
76 76
      * @throws \InvalidArgumentException if the template does not exist
Please login to merge, or discard this patch.
src/View/Mustache/MustacheEngine.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
     /**
71 71
      * Renders a template.
72 72
      *
73
-     * @param mixed $name       A template name
73
+     * @param string $name       A template name
74 74
      * @param array $parameters An array of parameters to pass to the template
75 75
      *
76 76
      * @throws \InvalidArgumentException if the template does not exist
Please login to merge, or discard this patch.
src/Config/ConfigManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
      *
51 51
      * @param string       $cachePath
52 52
      * @param boolean      $cacheEnabled
53
-     * @param string|array $paths        A path or an array of paths where to look for resources
53
+     * @param string $paths        A path or an array of paths where to look for resources
54 54
      */
55 55
     public function __construct($cachePath, $cacheEnabled, $paths = array())
56 56
     {
Please login to merge, or discard this patch.
src/App.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -402,7 +402,7 @@  discard block
 block discarded – undo
402 402
     /**
403 403
      * @note Added for compatibility with Symfony's HttpKernel\Kernel.
404 404
      *
405
-     * @return null|ServiceManager
405
+     * @return ServiceManager
406 406
      */
407 407
     public function getContainer()
408 408
     {
@@ -650,7 +650,7 @@  discard block
 block discarded – undo
650 650
     /**
651 651
      * Logs with an arbitrary level.
652 652
      *
653
-     * @param mixed  $level
653
+     * @param string  $level
654 654
      * @param string $message
655 655
      * @param array  $context
656 656
      */
Please login to merge, or discard this patch.