Completed
Pull Request — master (#1240)
by José
01:38
created
src/Traits/HasPermissions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -228,7 +228,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/PermissionServiceProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.