Test Setup Failed
Push — master ( 000e9e...f38e71 )
by
unknown
09:27
created
src/Charcoal/Loader/CollectionLoader.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
      * Retrieve the source to load objects from.
154 154
      *
155 155
      * @throws RuntimeException If no source has been defined.
156
-     * @return mixed
156
+     * @return SourceInterface
157 157
      */
158 158
     public function source()
159 159
     {
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
      * Retrieve the object model.
201 201
      *
202 202
      * @throws RuntimeException If no model has been defined.
203
-     * @return Model
203
+     * @return ModelInterface
204 204
      */
205 205
     public function model()
206 206
     {
@@ -361,7 +361,7 @@  discard block
 block discarded – undo
361 361
      * Alias of {@see SourceInterface::setFilters()}
362 362
      *
363 363
      * @param  array $filters An array of filters.
364
-     * @return Collection Chainable
364
+     * @return CollectionLoader Chainable
365 365
      */
366 366
     public function setFilters(array $filters)
367 367
     {
@@ -374,7 +374,7 @@  discard block
 block discarded – undo
374 374
      * Alias of {@see SourceInterface::addFilters()}
375 375
      *
376 376
      * @param  array $filters An array of filters.
377
-     * @return Collection Chainable
377
+     * @return CollectionLoader Chainable
378 378
      */
379 379
     public function addFilters(array $filters)
380 380
     {
@@ -427,7 +427,7 @@  discard block
 block discarded – undo
427 427
      * Alias of {@see SourceInterface::addOrders()}
428 428
      *
429 429
      * @param  array $orders An array of orders.
430
-     * @return Collection Chainable
430
+     * @return CollectionLoader Chainable
431 431
      */
432 432
     public function addOrders(array $orders)
433 433
     {
@@ -456,7 +456,7 @@  discard block
 block discarded – undo
456 456
     /**
457 457
      * Alias of {@see SourceInterface::pagination()}
458 458
      *
459
-     * @return Pagination
459
+     * @return \Charcoal\Source\PaginationInterface
460 460
      */
461 461
     public function pagination()
462 462
     {
@@ -741,7 +741,7 @@  discard block
 block discarded – undo
741 741
      *
742 742
      * @param  string $className The class name of the collection.
743 743
      * @throws InvalidArgumentException If the class name is not a string.
744
-     * @return AbstractPropertyDisplay Chainable
744
+     * @return CollectionLoader Chainable
745 745
      */
746 746
     public function setCollectionClass($className)
747 747
     {
Please login to merge, or discard this patch.
src/Charcoal/Source/AbstractSource.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@
 block discarded – undo
152 152
      * If no properties are set, it is assumed that all the Model's properties are to be fetched.
153 153
      *
154 154
      * @param array $properties The properties.
155
-     * @return ColelectionLoader Chainable
155
+     * @return AbstractSource Chainable
156 156
      */
157 157
     public function setProperties(array $properties)
158 158
     {
Please login to merge, or discard this patch.