Completed
Push — master ( 91d83f...255971 )
by Matthew
02:37
created
src/Fyuze/Kernel/Services/Database.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function services()
14 14
     {
15
-        $this->registry->add('db', function () {
15
+        $this->registry->add('db', function() {
16 16
 
17 17
             $config = $this->registry->make('config')->get('database');
18 18
 
Please login to merge, or discard this patch.
src/Fyuze/Kernel/Services/Debug.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      */
25 25
     public function services()
26 26
     {
27
-        $this->registry->add('toolbar', function ($app) {
27
+        $this->registry->add('toolbar', function($app) {
28 28
 
29 29
             $toolbar = new Toolbar();
30 30
             $collectors = [];
Please login to merge, or discard this patch.
src/Fyuze/Kernel/Services/Event.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function services()
13 13
     {
14
-        $this->registry->add('emitter', function ($app) {
14
+        $this->registry->add('emitter', function($app) {
15 15
 
16 16
             return (new Emitter())
17 17
                 ->setLogger($app->make('logger'));
Please login to merge, or discard this patch.
src/Fyuze/Kernel/Services/Logger.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 
16 16
         if ($config['log_errors'] === true) {
17 17
 
18
-            $this->registry->add('logger', function () use ($config) {
18
+            $this->registry->add('logger', function() use ($config) {
19 19
                 return new BaseLogger($config['log_prefix']);
20 20
             });
21 21
         }
Please login to merge, or discard this patch.
src/Fyuze/Routing/Matcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
 
64 64
         $route = preg_replace('/{([a-z0-9_-]+)}/i', '(?P<$1>[^/]+)', $route);
65 65
 
66
-        if(substr($route, -1) === '/') {
66
+        if (substr($route, -1) === '/') {
67 67
             $route .= '?';
68 68
         }
69 69
 
Please login to merge, or discard this patch.
src/Fyuze/File/Iterators/ExtensionIterator.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Created by PhpStorm.
4
- * User: matthew
5
- * Date: 12/1/15
6
- * Time: 11:40 AM
7
- */
3
+     * Created by PhpStorm.
4
+     * User: matthew
5
+     * Date: 12/1/15
6
+     * Time: 11:40 AM
7
+     */
8 8
 
9 9
 namespace Fyuze\File\Iterators;
10 10
 
Please login to merge, or discard this patch.
src/Fyuze/File/Iterators/FileIterator.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Created by PhpStorm.
4
- * User: matthew
5
- * Date: 12/1/15
6
- * Time: 11:40 AM
7
- */
3
+     * Created by PhpStorm.
4
+     * User: matthew
5
+     * Date: 12/1/15
6
+     * Time: 11:40 AM
7
+     */
8 8
 
9 9
 namespace Fyuze\File\Iterators;
10 10
 
Please login to merge, or discard this patch.
src/Fyuze/Http/Message/Message.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -210,7 +210,7 @@
 block discarded – undo
210 210
     }
211 211
 
212 212
     /**
213
-     * @param $key
213
+     * @param string $key
214 214
      * @param null $value
215 215
      * @return null
216 216
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
         }
120 120
 
121 121
         $instance = clone $this;
122
-        $instance->headers[$name] = array_filter((array)$value);
122
+        $instance->headers[$name] = array_filter((array) $value);
123 123
         return $instance;
124 124
     }
125 125
 
Please login to merge, or discard this patch.
src/Fyuze/Http/Message/Upload.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
     /**
132 132
      * {@inheritdoc}
133 133
      *
134
-     * @return int|null The file size in bytes or null if unknown.
134
+     * @return integer The file size in bytes or null if unknown.
135 135
      */
136 136
     public function getSize()
137 137
     {
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
     /**
153 153
      * {@inheritdoc}
154 154
      *
155
-     * @return string|null The filename sent by the client or null if none
155
+     * @return string The filename sent by the client or null if none
156 156
      *     was provided.
157 157
      */
158 158
     public function getClientFilename()
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
     /**
164 164
      * {@inheritdoc}
165 165
      *
166
-     * @return string|null The media type sent by the client or null if none
166
+     * @return string The media type sent by the client or null if none
167 167
      *     was provided.
168 168
      */
169 169
     public function getClientMediaType()
Please login to merge, or discard this patch.