File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 19
19
*/
20
20
class JsonRepositoryWriter
21
21
{
22
- private const JSON_FLAGS = JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE ;
22
+ private const int JSON_FLAGS = JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE ;
23
23
24
24
private string $ baseDir ;
25
25
@@ -144,7 +144,7 @@ private function processTool(ToolInterface $tool): ?array
144
144
}
145
145
$ data ['tools ' ][$ name ][] = $ serialized ;
146
146
}
147
- if (empty ( $ data ['tools ' ]) ) {
147
+ if (!( bool ) $ data ['tools ' ]) {
148
148
return null ;
149
149
}
150
150
Original file line number Diff line number Diff line change 9
9
10
10
final class ToolVersionFilter
11
11
{
12
- public const WILDCARD_CONSTRAINT = '* ' ;
13
- public const NEVER_MATCHING_CONSTRAINT = '>0 <0 ' ;
12
+ public const string WILDCARD_CONSTRAINT = '* ' ;
13
+ public const string NEVER_MATCHING_CONSTRAINT = '>0 <0 ' ;
14
14
15
15
private string $ toolName ;
16
16
private string $ allowedVersions ;
You can’t perform that action at this time.
0 commit comments