Completed
Push — master ( a3d1cc...7a2133 )
by Thibaud
10:40
created
src/PhraseanetSDK/Cache/BackendCacheFactory.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@  discard block
 block discarded – undo
18 18
 
19 19
 class BackendCacheFactory
20 20
 {
21
+    /**
22
+     * @param string $type
23
+     */
21 24
     public function create($type, $host = null, $port = null)
22 25
     {
23 26
         $host = $host ? $host : '127.0.0.1';
@@ -48,6 +51,9 @@  discard block
 block discarded – undo
48 51
         return new ArrayCache();
49 52
     }
50 53
 
54
+    /**
55
+     * @param integer $port
56
+     */
51 57
     private function createMemcache($host, $port)
52 58
     {
53 59
         $memcache = new \Memcache();
@@ -70,6 +76,9 @@  discard block
 block discarded – undo
70 76
         return $cache;
71 77
     }
72 78
 
79
+    /**
80
+     * @param integer $port
81
+     */
73 82
     private function createMemcached($host, $port)
74 83
     {
75 84
         $memcached = new \Memcached();
Please login to merge, or discard this patch.
src/PhraseanetSDK/Entity/Query.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,6 @@
 block discarded – undo
12 12
 namespace PhraseanetSDK\Entity;
13 13
 
14 14
 use Doctrine\Common\Collections\ArrayCollection;
15
-use PhraseanetSDK\Annotation\ApiField as ApiField;
16
-use PhraseanetSDK\Annotation\ApiRelation as ApiRelation;
17 15
 use PhraseanetSDK\EntityManager;
18 16
 
19 17
 class Query
Please login to merge, or discard this patch.
src/PhraseanetSDK/Entity/Story.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,6 @@
 block discarded – undo
12 12
 namespace PhraseanetSDK\Entity;
13 13
 
14 14
 use Doctrine\Common\Collections\ArrayCollection;
15
-use PhraseanetSDK\Annotation\ApiField as ApiField;
16
-use PhraseanetSDK\Annotation\ApiRelation as ApiRelation;
17 15
 use PhraseanetSDK\EntityManager;
18 16
 
19 17
 class Story
Please login to merge, or discard this patch.
src/PhraseanetSDK/Recorder/Player.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -70,6 +70,9 @@
 block discarded – undo
70 70
         }
71 71
     }
72 72
 
73
+    /**
74
+     * @param string $message
75
+     */
73 76
     private function output($message, OutputInterface $output = null)
74 77
     {
75 78
         if (null !== $output) {
Please login to merge, or discard this patch.
src/PhraseanetSDK/Repository/Basket.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use PhraseanetSDK\Exception\RuntimeException;
15 15
 use Doctrine\Common\Collections\ArrayCollection;
16
-use PhraseanetSDK\EntityHydrator;
17 16
 
18 17
 class Basket extends AbstractRepository
19 18
 {
Please login to merge, or discard this patch.
src/PhraseanetSDK/Repository/BasketElement.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use PhraseanetSDK\Exception\RuntimeException;
15 15
 use Doctrine\Common\Collections\ArrayCollection;
16
-use PhraseanetSDK\EntityHydrator;
17 16
 
18 17
 class BasketElement extends AbstractRepository
19 18
 {
Please login to merge, or discard this patch.
src/PhraseanetSDK/Repository/Databox.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use PhraseanetSDK\Exception\RuntimeException;
15 15
 use Doctrine\Common\Collections\ArrayCollection;
16
-use PhraseanetSDK\EntityHydrator;
17 16
 
18 17
 class Databox extends AbstractRepository
19 18
 {
Please login to merge, or discard this patch.
src/PhraseanetSDK/Repository/DataboxCollection.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      * Find all collection in the provided databox
22 22
      *
23 23
      * @param  integer          $databoxId the databox id
24
-     * @return ArrayCollection|\PhraseanetSDK\Entity\DataboxCollection[]
24
+     * @return ArrayCollection
25 25
      * @throws RuntimeException
26 26
      */
27 27
     public function findByDatabox($databoxId)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use PhraseanetSDK\Exception\RuntimeException;
15 15
 use Doctrine\Common\Collections\ArrayCollection;
16
-use PhraseanetSDK\EntityHydrator;
17 16
 
18 17
 class DataboxCollection extends AbstractRepository
19 18
 {
Please login to merge, or discard this patch.
src/PhraseanetSDK/Repository/DataboxDocumentStructure.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use PhraseanetSDK\Exception\RuntimeException;
15 15
 use Doctrine\Common\Collections\ArrayCollection;
16
-use PhraseanetSDK\EntityHydrator;
17 16
 
18 17
 class DataboxDocumentStructure extends AbstractRepository
19 18
 {
Please login to merge, or discard this patch.