Completed
Pull Request — master (#152)
by Paul
06:32 queued 01:13
created
src/Debug/ExceptionHandler.php 1 patch
Doc Comments   +7 added lines, -3 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
     }
68 68
 
69 69
     /**
70
-     * @param $appVersion
70
+     * @param string $appVersion
71 71
      *
72 72
      * @return $this
73 73
      */
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
      * This method uses plain PHP functions like header() and echo to output
129 129
      * the response.
130 130
      *
131
-     * @param \Exception|FlattenException $exception An \Exception instance
131
+     * @param \Exception $exception An \Exception instance
132 132
      */
133 133
     public function sendPhpResponse($exception)
134 134
     {
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
     /**
148 148
      * Creates the error Response associated with the given Exception.
149 149
      *
150
-     * @param \Exception|FlattenException $exception An \Exception instance
150
+     * @param \Exception $exception An \Exception instance
151 151
      *
152 152
      * @return Response A Response instance
153 153
      */
@@ -299,6 +299,10 @@  discard block
 block discarded – undo
299 299
 EOT;
300 300
     }
301 301
 
302
+    /**
303
+     * @param string $content
304
+     * @param string $css
305
+     */
302 306
     private function decorate($content, $css)
303 307
     {
304 308
         $baseStylesheet = $this->getBaseStylesheet();
Please login to merge, or discard this patch.
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.