Completed
Pull Request — master (#6)
by Jacob
03:17
created
src/Adapter.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -4,12 +4,8 @@
 block discarded – undo
4 4
 
5 5
 use As3\Modlr\Api\AbstractAdapter;
6 6
 use As3\Modlr\Api\AdapterException;
7
-use As3\Modlr\Exception\HttpExceptionInterface;
8 7
 use As3\Modlr\Metadata\EntityMetadata;
9
-use As3\Modlr\Models\Collection;
10
-use As3\Modlr\Models\Model;
11 8
 use As3\Modlr\Rest;
12
-use As3\Modlr\Store\Store;
13 9
 
14 10
 /**
15 11
  * Adapter for handling API operations using the JSON API specification.
Please login to merge, or discard this patch.
src/Serializer.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -181,7 +181,6 @@  discard block
 block discarded – undo
181 181
     /**
182 182
      * Serializes an embed many value.
183 183
      *
184
-     * @param   EmbedMetadata   $embedMeta
185 184
      * @param   Embed|null      $embed
186 185
      * @return  array
187 186
      */
@@ -230,7 +229,7 @@  discard block
 block discarded – undo
230 229
      * @param   Model                   $owner
231 230
      * @param   Model[]|null            $models
232 231
      * @param   AdapterInterface        $adapter
233
-     * @return  array
232
+     * @return  \As3\Modlr\Metadata\EntityMetadata
234 233
      */
235 234
     protected function serializeHasMany(Model $owner, array $models = null, AdapterInterface $adapter)
236 235
     {
@@ -246,7 +245,7 @@  discard block
 block discarded – undo
246 245
      * @param   Model                   $owner
247 246
      * @param   Model|null              $model
248 247
      * @param   AdapterInterface        $adapter
249
-     * @return  array
248
+     * @return  \As3\Modlr\Metadata\EntityMetadata
250 249
      */
251 250
     protected function serializeHasOne(Model $owner, Model $model = null, AdapterInterface $adapter)
252 251
     {
Please login to merge, or discard this patch.