We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13251a4 commit 05c2f2fCopy full SHA for 05c2f2f
dev/tests/static/framework/Magento/TestFramework/Utility/ChangedFiles.php
@@ -56,7 +56,7 @@ function (&$file) {
56
* Get changed content.
57
*
58
* @param string $fileName
59
- * @return string|null
+ * @return string
60
*/
61
public static function getChangedContent($fileName)
62
{
@@ -65,7 +65,7 @@ public static function getChangedContent($fileName)
65
$changedContent = file_get_contents(BP . sprintf(self::CHANGED_FILES_CONTENT_FILE, $extension));
66
$data = json_decode($changedContent, true);
67
68
- return isset($data[$fileName]) ? $data[$fileName] : [];
+ return isset($data[$fileName]) ? $data[$fileName] : '';
69
}
70
71
/**
0 commit comments