Completed
Push — master ( aa0a8b...a812dc )
by Oscar
06:16
created
src/Entities/File.php 2 patches
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
 
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
      * 
127 127
      * @param array $data
128 128
      * 
129
-     * @return string
129
+     * @return integer
130 130
      */
131 131
     protected function getId(array $data)
132 132
     {
Please login to merge, or discard this patch.
src/Admin.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -39,6 +39,9 @@
 block discarded – undo
39 39
         return $dispatcher($request, new Response());
40 40
     }
41 41
 
42
+    /**
43
+     * @param string $name
44
+     */
42 45
     public function getRoute($name, array $data = array(), array $query = null)
43 46
     {
44 47
         return $this->getUrl($this['router']->getGenerator()->generate($name, $data)).($query ? '?'.http_build_query($query) : '');
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 Folk\Entities\EntityInterface;
8 8
 use Psr\Http\Message\ServerRequestInterface;
9 9
 use Psr\Http\Message\ResponseInterface;
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/Controllers/InsertEntity.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\Controllers;
4 4
 
5 5
 use Psr\Http\Message\ServerRequestInterface as Request;
6
-use Psr\Http\Message\ResponseInterface as Response;
7 6
 use Folk\Admin;
8 7
 
9 8
 class InsertEntity extends Entity
Please login to merge, or discard this patch.
src/Controllers/Index.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\Controllers;
4 4
 
5 5
 use Psr\Http\Message\ServerRequestInterface as Request;
6
-use Psr\Http\Message\ResponseInterface as Response;
7 6
 use Folk\Admin;
8 7
 
9 8
 class InsertEntity extends Entity
Please login to merge, or discard this patch.