Completed
Push — master ( a3d1cc...7a2133 )
by Thibaud
10:40
created
src/PhraseanetSDK/Entity/Query.php 2 patches
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.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
      */
153 153
     public function getSuggestions()
154 154
     {
155
-        if (! isset($this->source->suggestions)) {
155
+        if (!isset($this->source->suggestions)) {
156 156
             $this->suggestions = new ArrayCollection();
157 157
         }
158 158
 
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
      */
167 167
     public function getFacets()
168 168
     {
169
-        if (! isset($this->source->facets)) {
169
+        if (!isset($this->source->facets)) {
170 170
             $this->facets = new ArrayCollection();
171 171
         }
172 172
 
Please login to merge, or discard this patch.
src/PhraseanetSDK/Entity/Story.php 2 patches
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.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      */
98 98
     public function getId()
99 99
     {
100
-        return $this->getDataboxId().'_'.$this->getStoryId();
100
+        return $this->getDataboxId() . '_' . $this->getStoryId();
101 101
     }
102 102
 
103 103
     /**
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
      */
126 126
     public function getThumbnail()
127 127
     {
128
-        if (! isset($this->source->thumbnail)) {
128
+        if (!isset($this->source->thumbnail)) {
129 129
             return null;
130 130
         }
131 131
 
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
      */
178 178
     public function getRecords()
179 179
     {
180
-        if (! isset($this->source->records)) {
180
+        if (!isset($this->source->records)) {
181 181
             $this->records = new ArrayCollection();
182 182
         }
183 183
 
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
      */
190 190
     public function getMetadata()
191 191
     {
192
-        if (! isset($this->source->metadata)) {
192
+        if (!isset($this->source->metadata)) {
193 193
             $this->metadata = new ArrayCollection();
194 194
         }
195 195
 
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
      */
202 202
     public function getStatus()
203 203
     {
204
-        if (! isset($this->status)) {
204
+        if (!isset($this->status)) {
205 205
             $this->status = $this->entityManager->getRepository('recordStatus')->findByRecord(
206 206
                 $this->getDataboxId(),
207 207
                 $this->getStoryId()
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
      */
217 217
     public function getCaption()
218 218
     {
219
-        if (! isset($this->caption)) {
219
+        if (!isset($this->caption)) {
220 220
             $this->caption = $this->entityManager->getRepository('caption')->findByRecord(
221 221
                 $this->getDataboxId(),
222 222
                 $this->getStoryId()
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 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 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.
src/PhraseanetSDK/Repository/DataboxStatus.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 DataboxStatus extends AbstractRepository
19 18
 {
Please login to merge, or discard this patch.
src/PhraseanetSDK/Repository/DataboxTermsOfUse.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 DataboxTermsOfUse extends AbstractRepository
19 18
 {
Please login to merge, or discard this patch.