Skip to content

Commit dc20162

Browse files
committed
Documentation change to hopefully stop Scrutinizer complaining about return types.
1 parent c41415c commit dc20162

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Darya/ORM/Relation.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* TODO: errors() method.
1313
* TODO: Filter, order, limit, offset for load() and retrieve().
1414
* TODO: Shouldn't delimitClass() and prepareForeignKey() be static?
15+
* TODO: Use a $loaded property instead of setting relations to null.
1516
*
1617
* @author Chris Andrew <chris@hexus.io>
1718
*/
@@ -48,7 +49,7 @@ abstract class Relation {
4849
protected $constraints = array();
4950

5051
/**
51-
* @var array The related instances
52+
* @var Record[]|null The related instances
5253
*/
5354
protected $related = null;
5455

0 commit comments

Comments
 (0)