Completed
Push — master ( aff4d6...07407e )
by Oscar
04:49
created
src/Providers/Formats.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@
 block discarded – undo
11 11
     public function getServices()
12 12
     {
13 13
         return [
14
-        	'builder' => function (App $app): FormatFactory {
15
-            	return new FormatFactory($app);
16
-        	}
14
+            'builder' => function (App $app): FormatFactory {
15
+                return new FormatFactory($app);
16
+            }
17 17
         ];
18 18
     }
19 19
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     public function getServices()
12 12
     {
13 13
         return [
14
-        	'builder' => function (App $app): FormatFactory {
14
+        	'builder' => function(App $app): FormatFactory {
15 15
             	return new FormatFactory($app);
16 16
         	}
17 17
         ];
Please login to merge, or discard this patch.
src/Providers/Templates.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
     public function getServices()
14 14
     {
15 15
         return [
16
-            'templates' => function (App $app): Engine {
16
+            'templates' => function(App $app): Engine {
17 17
                 $root = dirname(dirname(__DIR__));
18 18
 
19 19
                 $templates = new Engine($root.'/templates');
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 
22 22
                 $templates->addData(['app' => $app]);
23 23
 
24
-                $templates->registerFunction('icon', function ($name) use ($icons) {
24
+                $templates->registerFunction('icon', function($name) use ($icons) {
25 25
                     return $icons->get($name);
26 26
                 });
27 27
 
Please login to merge, or discard this patch.
src/Admin.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,10 +33,10 @@  discard block
 block discarded – undo
33 33
     /**
34 34
      * Use the app as a middleware component.
35 35
      *
36
-     * @param ServerRequestInterface $request
36
+     * @param \Psr\Http\Message\ServerRequestInterface $request
37 37
      * @param DelegateInterface      $delegate
38 38
      *
39
-     * @return ResponseInterface
39
+     * @return \Psr\Http\Message\ResponseInterface
40 40
      */
41 41
     public function process(ServerRequestInterface $request, DelegateInterface $delegate)
42 42
     {
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     }
45 45
 
46 46
     /**
47
-     * @return ResponseInterface
47
+     * @return \Psr\Http\Message\ResponseInterface
48 48
      */
49 49
     public function __invoke(ServerRequestInterface $request): ResponseInterface
50 50
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,6 @@
 block discarded – undo
7 7
 use Psr\Http\Message\{ServerRequestInterface, ResponseInterface, UriInterface};
8 8
 use Interop\Http\ServerMiddleware\MiddlewareInterface;
9 9
 use Interop\Http\ServerMiddleware\DelegateInterface;
10
-use Zend\Diactoros\Response;
11
-use Relay\RelayBuilder;
12 10
 
13 11
 /**
14 12
  * Main manager.
Please login to merge, or discard this patch.
src/Entities/File.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Folk\Entities;
4 4
 
5 5
 use Folk\SearchQuery;
6
-use SimpleCrud\Row;
7 6
 use FilesystemIterator;
8 7
 use RecursiveDirectoryIterator;
9 8
 use Exception;
Please login to merge, or discard this patch.
src/Entities/Yaml.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,6 +29,6 @@
 block discarded – undo
29 29
      */
30 30
     protected function parse(string $source): array
31 31
     {
32
-        return (array) SymfonyYaml::parse($source);
32
+        return (array)SymfonyYaml::parse($source);
33 33
     }
34 34
 }
Please login to merge, or discard this patch.
src/SearchQuery.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
      */
91 91
     public function setPage($page): self
92 92
     {
93
-        $this->page = (int) $page;
93
+        $this->page = (int)$page;
94 94
 
95 95
         return $this;
96 96
     }
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      */
115 115
     public function setLimit(int $limit): self
116 116
     {
117
-        $this->limit = (int) $limit;
117
+        $this->limit = (int)$limit;
118 118
 
119 119
         return $this;
120 120
     }
Please login to merge, or discard this patch.