← All changes
|
backend/src/System/Contracts/RepositoryAbstract.php
+3
-3
0.7.0
→
1.5.5.1
View file →
| @@ -7,13 +7,13 @@ | ||
| 7 | 7 | |
| 8 | 8 | abstract class RepositoryAbstract { |
| 9 | 9 | |
| 10 | 10 | |
| 11 | - abstract public function find( $id, callable $transform = null ); | |
| 11 | + abstract public function find( $id, ?callable $transform = null ); | |
| 12 | 12 | |
| 13 | - abstract public function find_where( array $args = [], callable $transform = null ); | |
| 13 | + abstract public function find_where( array $args = [], ?callable $transform = null ); | |
| 14 | 14 | |
| 15 | - abstract public function paginate( array $args = [], callable $transform = null ); | |
| 15 | + abstract public function paginate( array $args = [], ?callable $transform = null ); | |
| 16 | 16 | |
| 17 | 17 | abstract public function query( array $args = [] ); |
| 18 | 18 | |
| 19 | 19 | |