Skip to content

Commit a502525

Browse files
authored
Merge pull request #5107 from Catrobat/dependabot/composer/phpstan-b871ce0a9f
Build(deps-dev): Bump phpstan/phpstan from 1.11.8 to 1.11.9 in the phpstan group
2 parents ee97cf4 + e405c01 commit a502525

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

composer.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Project/CatrobatFile/ExtractedCatrobatFile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function __construct(protected string $path, protected string $web_path,
3232
$content = str_replace('�', '', $content);
3333

3434
preg_match_all('@fileName=?[">](.*?)[<"]@', $content, $matches);
35-
$this->xml_filenames = count($matches) > 1 ? $matches[1] : [];
35+
$this->xml_filenames = $matches[1];
3636
$counter = count($this->xml_filenames);
3737
for ($i = 0; $i < $counter; ++$i) {
3838
$this->xml_filenames[$i] = $this->decodeXmlEntities($this->xml_filenames[$i]);

0 commit comments

Comments
 (0)