File tree 3 files changed +7
-6
lines changed
3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 20
20
],
21
21
"require" : {
22
22
"php" : " >=7.2" ,
23
+ "ext-json" : " *" ,
23
24
"illuminate/cache" : " ~5.5|~6|~7" ,
24
25
"illuminate/routing" : " ~5.5|~6|~7" ,
25
26
"illuminate/support" : " ~5.5|~6|~7" ,
Original file line number Diff line number Diff line change @@ -44,13 +44,13 @@ public function parseFilterString($filter_string)
44
44
/**
45
45
* Set the filter type.
46
46
*
47
- * @param $type
47
+ * @param string $type
48
48
*
49
49
* @return void
50
50
*
51
51
* @throws InvalidFilterTypeException
52
52
*/
53
- protected function setFilterType ($ type )
53
+ protected function setFilterType (string $ type )
54
54
{
55
55
if ('allow ' === $ type ) {
56
56
$ this ->block_filter = false ;
Original file line number Diff line number Diff line change @@ -1315,7 +1315,7 @@ public function it_raises_exception_when_browsers_are_misconfigured_in_the_rules
1315
1315
1316
1316
$ rules = [
1317
1317
'Device ' => [
1318
- 'Broswer ' ,
1318
+ 'Browser ' ,
1319
1319
],
1320
1320
];
1321
1321
@@ -1351,7 +1351,7 @@ public function it_raises_exception_when_versions_are_misconfigured_in_the_rules
1351
1351
1352
1352
$ rules = [
1353
1353
'Device ' => [
1354
- 'Broswer ' => [
1354
+ 'Browser ' => [
1355
1355
'2 ' ,
1356
1356
],
1357
1357
],
@@ -1371,7 +1371,7 @@ public function it_raises_exception_when_versions_operators_are_misconfigured_in
1371
1371
1372
1372
$ rules = [
1373
1373
'Device ' => [
1374
- 'Broswer ' => [
1374
+ 'Browser ' => [
1375
1375
'~ ' => '2 ' ,
1376
1376
],
1377
1377
],
@@ -1391,7 +1391,7 @@ public function it_raises_exception_when_versions_are_not_a_string()
1391
1391
1392
1392
$ rules = [
1393
1393
'Device ' => [
1394
- 'Broswer ' => [
1394
+ 'Browser ' => [
1395
1395
'= ' => 2 ,
1396
1396
],
1397
1397
],
You can’t perform that action at this time.
0 commit comments