File tree 4 files changed +16
-11
lines changed
4 files changed +16
-11
lines changed Original file line number Diff line number Diff line change 19
19
"require" : {
20
20
"php" : " ^8.2" ,
21
21
"ext-json" : " *" ,
22
- "yajra/laravel-datatables-oracle" : " ^11 .0"
22
+ "yajra/laravel-datatables-oracle" : " ^12 .0"
23
23
},
24
24
"require-dev" : {
25
- "larastan/larastan" : " ^2.9 .1" ,
26
- "orchestra/testbench" : " ^9 " ,
27
- "laravel/pint" : " ^1.14 " ,
28
- "rector/rector" : " ^1 .0" ,
25
+ "larastan/larastan" : " ^3 .1" ,
26
+ "orchestra/testbench" : " ^10 " ,
27
+ "laravel/pint" : " ^1.21 " ,
28
+ "rector/rector" : " ^2 .0" ,
29
29
"livewire/livewire" : " ^3.4"
30
30
},
31
31
"suggest" : {
43
43
},
44
44
"extra" : {
45
45
"branch-alias" : {
46
- "dev-master" : " 11.0 -dev"
46
+ "dev-master" : " 12.x -dev"
47
47
},
48
48
"laravel" : {
49
49
"providers" : [
Original file line number Diff line number Diff line change @@ -10,8 +10,11 @@ parameters:
10
10
11
11
ignoreErrors:
12
12
- '#Unsafe usage of new static\(\).#'
13
- - identifier: missingType.generics
14
- - identifier: missingType.iterableValue
13
+ - identifier: missingType.generics
14
+ - identifier: missingType.iterableValue
15
+ - identifier: binaryOp.invalid
16
+ - identifier: return.type
17
+ - identifier: argument.type
15
18
16
19
excludePaths:
17
20
- ./src/Html/Fluent.php
Original file line number Diff line number Diff line change @@ -271,10 +271,12 @@ public function addClass(string $class): static
271
271
{
272
272
if (! isset ($ this ->attributes ['className ' ])) {
273
273
$ this ->attributes ['className ' ] = $ class ;
274
- } else {
275
- $ this -> attributes [ ' className ' ] .= " $ class " ;
274
+
275
+ return $ this ;
276
276
}
277
277
278
+ $ this ->attributes ['className ' ] = $ this ->attributes ['className ' ]." $ class " ;
279
+
278
280
return $ this ;
279
281
}
280
282
Original file line number Diff line number Diff line change @@ -503,7 +503,7 @@ public function parseRender(mixed $value): ?string
503
503
return $ value ($ parameters );
504
504
} elseif ($ this ->isBuiltInRenderFunction ($ value )) {
505
505
return $ value ;
506
- } elseif (strlen (( string ) $ value ) < 256 && $ view ->exists ($ value )) {
506
+ } elseif (is_string ( $ value ) && strlen ( $ value ) < 256 && $ view ->exists ($ value )) {
507
507
return $ view ->make ($ value )->with ($ parameters )->render ();
508
508
}
509
509
You can’t perform that action at this time.
0 commit comments