Completed
Push — master ( 3d0efe...55daf4 )
by Jacob
05: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, -2 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
      * @param   Model                   $owner
162 162
      * @param   Model[]|null            $models
163 163
      * @param   AdapterInterface        $adapter
164
-     * @return  array
164
+     * @return  \As3\Modlr\Metadata\EntityMetadata
165 165
      */
166 166
     protected function serializeHasMany(Model $owner, array $models = null, AdapterInterface $adapter)
167 167
     {
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
      * @param   Model                   $owner
178 178
      * @param   Model|null              $model
179 179
      * @param   AdapterInterface        $adapter
180
-     * @return  array
180
+     * @return  \As3\Modlr\Metadata\EntityMetadata
181 181
      */
182 182
     protected function serializeHasOne(Model $owner, Model $model = null, AdapterInterface $adapter)
183 183
     {
Please login to merge, or discard this patch.