Completed
Push — master ( 7cba80...45c651 )
by Damien
02:40
created
src/HTTP/MessageBody.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
      *
114 114
      * After the stream has been detached, the stream is in an unusable state.
115 115
      *
116
-     * @return resource|null Underlying PHP stream, if any
116
+     * @return resource Underlying PHP stream, if any
117 117
      */
118 118
     public function detach()
119 119
     {
Please login to merge, or discard this patch.
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Veto.
4
- * PHP Microframework.
5
- *
6
- * @author Damien Walsh <[email protected]>
7
- * @copyright Damien Walsh 2013-2014
8
- * @version 0.1
9
- * @package veto
10
- */
3
+     * Veto.
4
+     * PHP Microframework.
5
+     *
6
+     * @author Damien Walsh <[email protected]>
7
+     * @copyright Damien Walsh 2013-2014
8
+     * @version 0.1
9
+     * @package veto
10
+     */
11 11
 namespace Veto\Templating;
12 12
 
13 13
 /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -224,8 +224,7 @@
 block discarded – undo
224 224
     public function seek($offset, $whence = SEEK_SET)
225 225
     {
226 226
         return $this->isAttached() && $this->isSeekable() ?
227
-            fseek($this->stream, $offset, $whence) :
228
-            false;
227
+            fseek($this->stream, $offset, $whence) : false;
229 228
     }
230 229
 
231 230
     /**
Please login to merge, or discard this patch.
src/HTTP/Request.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -547,7 +547,7 @@  discard block
 block discarded – undo
547 547
     /**
548 548
      * Get a parameter of this request.
549 549
      *
550
-     * @param $key
550
+     * @param string $key
551 551
      * @param null $default
552 552
      * @return mixed|null
553 553
      */
@@ -559,7 +559,7 @@  discard block
 block discarded – undo
559 559
     /**
560 560
      * Check if the request has a parameter with the specified key.
561 561
      *
562
-     * @param $key
562
+     * @param string $key
563 563
      * @return bool
564 564
      */
565 565
     public function hasParameter($key)
Please login to merge, or discard this patch.
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Veto.
4
- * PHP Microframework.
5
- *
6
- * @author Damien Walsh <[email protected]>
7
- * @copyright Damien Walsh 2013-2014
8
- * @version 0.1
9
- * @package veto
10
- */
3
+     * Veto.
4
+     * PHP Microframework.
5
+     *
6
+     * @author Damien Walsh <[email protected]>
7
+     * @copyright Damien Walsh 2013-2014
8
+     * @version 0.1
9
+     * @package veto
10
+     */
11 11
 namespace Veto\Templating;
12 12
 
13 13
 /**
Please login to merge, or discard this patch.
src/HTTP/Response.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
      * While header names are not case-sensitive, getHeaders() will preserve the
222 222
      * exact case in which headers were originally specified.
223 223
      *
224
-     * @return array Returns an associative array of the message's headers. Each
224
+     * @return HeaderBag Returns an associative array of the message's headers. Each
225 225
      *     key MUST be a header name, and each value MUST be an array of strings.
226 226
      */
227 227
     public function getHeaders()
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
      * a null value.
278 278
      *
279 279
      * @param string $name Case-insensitive header field name.
280
-     * @return string|null A string of values as provided for the given header
280
+     * @return string A string of values as provided for the given header
281 281
      *    concatenated together using a comma. If the header does not appear in
282 282
      *    the message, this method MUST return a null value.
283 283
      */
@@ -442,7 +442,7 @@  discard block
 block discarded – undo
442 442
      *
443 443
      * @link http://tools.ietf.org/html/rfc7231#section-6
444 444
      * @link http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
445
-     * @return string|null Reason phrase, or null if unknown.
445
+     * @return string Reason phrase, or null if unknown.
446 446
      */
447 447
     public function getReasonPhrase()
448 448
     {
Please login to merge, or discard this patch.
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Veto.
4
- * PHP Microframework.
5
- *
6
- * @author Damien Walsh <[email protected]>
7
- * @copyright Damien Walsh 2013-2014
8
- * @version 0.1
9
- * @package veto
10
- */
3
+     * Veto.
4
+     * PHP Microframework.
5
+     *
6
+     * @author Damien Walsh <[email protected]>
7
+     * @copyright Damien Walsh 2013-2014
8
+     * @version 0.1
9
+     * @package veto
10
+     */
11 11
 namespace Veto\Templating;
12 12
 
13 13
 /**
Please login to merge, or discard this patch.
src/Layer/Dispatcher/DispatcherLayer.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 
36 36
     /**
37 37
      * @param Request $request
38
-     * @return mixed
38
+     * @return Response
39 39
      * @throws \RuntimeException
40 40
      */
41 41
     public function in(Request $request)
Please login to merge, or discard this patch.
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Veto.
4
- * PHP Microframework.
5
- *
6
- * @author Damien Walsh <[email protected]>
7
- * @copyright Damien Walsh 2013-2014
8
- * @version 0.1
9
- * @package veto
10
- */
3
+     * Veto.
4
+     * PHP Microframework.
5
+     *
6
+     * @author Damien Walsh <[email protected]>
7
+     * @copyright Damien Walsh 2013-2014
8
+     * @version 0.1
9
+     * @package veto
10
+     */
11 11
 namespace Veto\Templating;
12 12
 
13 13
 /**
Please login to merge, or discard this patch.
src/App.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
             $layerChain = $this->container->get('chain');
125 125
             $response = $layerChain->processLayers($request);
126 126
 
127
-        } catch(\Exception $exception) {
127
+        } catch (\Exception $exception) {
128 128
 
129 129
             // Invoke the exception controller action method
130 130
             $exceptionHandler = $this->container->get('controller._exception_handler');
Please login to merge, or discard this patch.
src/Collection/Bag.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Veto.
4
- * PHP Microframework.
5
- *
6
- * @author Damien Walsh <[email protected]>
7
- * @copyright Damien Walsh 2013-2014
8
- * @version 0.1
9
- * @package veto
10
- */
3
+     * Veto.
4
+     * PHP Microframework.
5
+     *
6
+     * @author Damien Walsh <[email protected]>
7
+     * @copyright Damien Walsh 2013-2014
8
+     * @version 0.1
9
+     * @package veto
10
+     */
11 11
 namespace Veto\Templating;
12 12
 
13 13
 /**
Please login to merge, or discard this patch.
src/Collection/Tree.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Veto.
4
- * PHP Microframework.
5
- *
6
- * @author Damien Walsh <[email protected]>
7
- * @copyright Damien Walsh 2013-2014
8
- * @version 0.1
9
- * @package veto
10
- */
3
+     * Veto.
4
+     * PHP Microframework.
5
+     *
6
+     * @author Damien Walsh <[email protected]>
7
+     * @copyright Damien Walsh 2013-2014
8
+     * @version 0.1
9
+     * @package veto
10
+     */
11 11
 namespace Veto\Templating;
12 12
 
13 13
 /**
Please login to merge, or discard this patch.
src/Configuration/Hive.php 2 patches
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Veto.
4
- * PHP Microframework.
5
- *
6
- * @author Damien Walsh <[email protected]>
7
- * @copyright Damien Walsh 2013-2014
8
- * @version 0.1
9
- * @package veto
10
- */
3
+     * Veto.
4
+     * PHP Microframework.
5
+     *
6
+     * @author Damien Walsh <[email protected]>
7
+     * @copyright Damien Walsh 2013-2014
8
+     * @version 0.1
9
+     * @package veto
10
+     */
11 11
 namespace Veto\Templating;
12 12
 
13 13
 /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
                 );
45 45
             }
46 46
 
47
-            foreach($config['@import'] as $importPath) {
47
+            foreach ($config['@import'] as $importPath) {
48 48
                 $importPath = dirname($path) . '/' . $importPath;
49 49
 
50 50
                 if (!file_exists($importPath)) {
Please login to merge, or discard this patch.
src/DI/AbstractContainerAccessor.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Veto.
4
- * PHP Microframework.
5
- *
6
- * @author Damien Walsh <[email protected]>
7
- * @copyright Damien Walsh 2013-2014
8
- * @version 0.1
9
- * @package veto
10
- */
3
+     * Veto.
4
+     * PHP Microframework.
5
+     *
6
+     * @author Damien Walsh <[email protected]>
7
+     * @copyright Damien Walsh 2013-2014
8
+     * @version 0.1
9
+     * @package veto
10
+     */
11 11
 namespace Veto\Templating;
12 12
 
13 13
 /**
Please login to merge, or discard this patch.