| @@ -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,10 @@ | ||
| 27 | 27 | /** @var \Illuminate\Database\Eloquent\Model */ | 
| 28 | 28 | public $model; | 
| 29 | 29 | |
| 30 | + /** | |
| 31 | + * @param State $initialState | |
| 32 | + * @param null|State $finalState | |
| 33 | + */ | |
| 30 | 34 | public function __construct( | 
| 31 | 35 | ?State $initialState, | 
| 32 | 36 | ?State $finalState, |