]> BookStack Code Mirror - bookstack/blobdiff - app/Search/SearchApiController.php
ZIP Imports: Added API examples, finished testing
[bookstack] / app / Search / SearchApiController.php
index 79cd8cfabd0e0166d082eb4c8eb8cc5e669f70d5..cd4a14a3931c2869d654c53c710c0af51c7890bf 100644 (file)
@@ -9,7 +9,7 @@ use Illuminate\Http\Request;
 
 class SearchApiController extends ApiController
 {
-    protected $rules = [
+    protected array $rules = [
         'all' => [
             'query' => ['required'],
             'page'  => ['integer', 'min:1'],