@@ -208,7 +208,7 @@ |
||
208 | 208 | } |
209 | 209 | |
210 | 210 | /** |
211 | - * @param string|\Spatie\ModelStates\Transition $transitionClass |
|
211 | + * @param string|\Spatie\ModelStates\Transition $transition |
|
212 | 212 | * @param mixed ...$args |
213 | 213 | * |
214 | 214 | * @return \Illuminate\Database\Eloquent\Model |
@@ -27,6 +27,9 @@ |
||
27 | 27 | /** @var \Illuminate\Database\Eloquent\Model */ |
28 | 28 | public $model; |
29 | 29 | |
30 | + /** |
|
31 | + * @param State $initialState |
|
32 | + */ |
|
30 | 33 | public function __construct( |
31 | 34 | ?State $initialState, |
32 | 35 | ?State $finalState, |