Completed
Push — master ( 8ff0a2...857f56 )
by Enrico
08:11
created
src/CRUDResourceController.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 Resourceful;
4 4
 
5 5
 use Silex\Application;
6
-
7 6
 use Symfony\Component\HttpFoundation\Request;
8 7
 use Symfony\Component\HttpFoundation\Response;
9 8
 use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
Please login to merge, or discard this patch.
src/DescribedBySchemaHandler.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -12,6 +12,9 @@
 block discarded – undo
12 12
 	
13 13
 	public function getSchemaId(){ return $this->schemaId;}
14 14
 	
15
+	/**
16
+	 * @param string $schemaId
17
+	 */
15 18
 	public static function apply($schemaId, Application $app, Response $response)
16 19
 	{
17 20
 		$handler =new static($schemaId);
Please login to merge, or discard this patch.
src/ReadResourceController.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -26,6 +26,9 @@
 block discarded – undo
26 26
 	}
27 27
 
28 28
 	
29
+	/**
30
+	 * @param Application $app
31
+	 */
29 32
 	public function getDatastore($app)
30 33
 	{
31 34
 		$schemaId= $this->getSchemaId();
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Symfony\Component\HttpFoundation\Request;
7 7
 use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
8 8
 use Symfony\Component\HttpKernel\Exception\ServiceUnavailableHttpException;
9
-use Doctrine\Common\Cache\Cache;
10 9
 
11 10
 class ReadResourceController
12 11
 {
Please login to merge, or discard this patch.
src/Stores/FileCache.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -77,6 +77,11 @@
 block discarded – undo
77 77
         return null;
78 78
     }
79 79
 
80
+    /**
81
+     * @param string $id
82
+     *
83
+     * @return string
84
+     */
80 85
     protected function filename($id)
81 86
     {
82 87
         if (is_dir("$this->location/$id")) {
Please login to merge, or discard this patch.