@@ -228,7 +228,7 @@ |
||
| 228 | 228 | /** |
| 229 | 229 | * Determine if the model has the given permission. |
| 230 | 230 | * |
| 231 | - * @param string|int|\Spatie\Permission\Contracts\Permission $permission |
|
| 231 | + * @param Permission $permission |
|
| 232 | 232 | * |
| 233 | 233 | * @return bool |
| 234 | 234 | * @throws PermissionDoesNotExist |
@@ -151,7 +151,7 @@ |
||
| 151 | 151 | * Returns existing migration file if found, else uses the current timestamp. |
| 152 | 152 | * |
| 153 | 153 | * @param Filesystem $filesystem |
| 154 | - * @param $migrationFileName |
|
| 154 | + * @param string $migrationFileName |
|
| 155 | 155 | * @return string |
| 156 | 156 | */ |
| 157 | 157 | protected function getMigrationFileName(Filesystem $filesystem, $migrationFileName): string |