@@ -158,7 +158,7 @@ |
||
158 | 158 | } |
159 | 159 | |
160 | 160 | /** |
161 | - * @param mixed $revTs The revision's timestamp. |
|
161 | + * @param string $revTs The revision's timestamp. |
|
162 | 162 | * @throws InvalidArgumentException If the timestamp is invalid. |
163 | 163 | * @return ObjectRevision Chainable |
164 | 164 | */ |
@@ -10,7 +10,6 @@ |
||
10 | 10 | use Pimple\Container; |
11 | 11 | |
12 | 12 | // From 'charcoal-factory' |
13 | -use Charcoal\Factory\FactoryInterface; |
|
14 | 13 | |
15 | 14 | // From 'charcoal-core' |
16 | 15 | use Charcoal\Model\AbstractModel; |
@@ -4,7 +4,6 @@ discard block |
||
4 | 4 | use DateTime; |
5 | 5 | use DateTimeInterface; |
6 | 6 | use InvalidArgumentException; |
7 | -use RuntimeException; |
|
8 | 7 | use Exception; |
9 | 8 | |
10 | 9 | // From Pimple |
@@ -12,13 +11,10 @@ discard block |
||
12 | 11 | |
13 | 12 | // From 'charcoal-core' |
14 | 13 | use Charcoal\Model\AbstractModel; |
15 | -use Charcoal\Loader\CollectionLoader; |
|
16 | - |
|
17 | 14 | use Charcoal\Model\ModelFactoryTrait; |
18 | 15 | use Charcoal\Loader\CollectionLoaderAwareTrait; |
19 | 16 | |
20 | 17 | // From 'charcoal-factory' |
21 | -use Charcoal\Factory\FactoryInterface; |
|
22 | 18 | |
23 | 19 | // From 'charcoal-object' |
24 | 20 | use Charcoal\Object\ObjectRouteInterface; |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | |
34 | 34 | /** |
35 | 35 | * @param boolean $enabled The (revision) enabled flag. |
36 | - * @return RevisionableInterface Chainable |
|
36 | + * @return RevisionableTrait Chainable |
|
37 | 37 | */ |
38 | 38 | public function setRevisionEnabled($enabled) |
39 | 39 | { |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | * |
67 | 67 | * @param string $className The class name of the object revision model. |
68 | 68 | * @throws InvalidArgumentException If the class name is not a string. |
69 | - * @return AbstractPropertyDisplay Chainable |
|
69 | + * @return RevisionableTrait Chainable |
|
70 | 70 | */ |
71 | 71 | protected function setObjectRevisionClass($className) |
72 | 72 | { |