We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1fd9d11 + ef10438 commit 32e611eCopy full SHA for 32e611e
composer.json
@@ -11,8 +11,8 @@
11
],
12
"require": {
13
"php": ">=5.5.9",
14
- "illuminate/support": "^5.1",
15
- "illuminate/filesystem": "^5.1",
+ "illuminate/support": "^5.1 || ^6.0",
+ "illuminate/filesystem": "^5.1 || ^6.0",
16
"doctrine/annotations": "~1.2",
17
"phpdocumentor/reflection-docblock": "^3.1|^4.1"
18
},
src/Action.php
@@ -2,6 +2,7 @@
2
3
namespace Dingo\Blueprint;
4
5
+use Illuminate\Support\Str;
6
use RuntimeException;
7
use ReflectionMethod;
8
use Illuminate\Support\Collection;
@@ -152,7 +153,7 @@ public function getUri()
152
153
return;
154
}
155
- if (! starts_with($uri, '{?')) {
156
+ if (! Str::startsWith($uri, '{?')) {
157
$uri = '/'.$uri;
158
159
0 commit comments