File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 219219 <code ><![CDATA[ $softwareArray]]> </code >
220220 </MixedArgument >
221221 <MixedAssignment >
222- <code ><![CDATA[ $json]]> </code >
223222 <code ><![CDATA[ $softwareArray]]> </code >
224223 </MixedAssignment >
225- <PossiblyFalseArgument >
226- <code ><![CDATA[ \file_get_contents(Info::ROOT_DIR . '/resources/software.json')]]> </code >
227- </PossiblyFalseArgument >
228224 </file >
229225 <file src =" src/Module/Repository/Collection/CompositeRepository.php" >
230226 <InvalidArgument >
Original file line number Diff line number Diff line change @@ -87,8 +87,8 @@ public function count(): int
8787 */
8888 private function loadDefaultRegistry (): void
8989 {
90- $ json = \json_decode (
91- \file_get_contents (Info::ROOT_DIR . '/resources/software.json ' ),
90+ $ json = ( array ) \json_decode (
91+ ( string ) \file_get_contents (Info::ROOT_DIR . '/resources/software.json ' ),
9292 true ,
9393 16 ,
9494 JSON_THROW_ON_ERROR ,
You can’t perform that action at this time.
0 commit comments