Skip to content
Snippets Groups Projects
Commit d88abb3e authored by Oden's avatar Oden
Browse files

Fix PHPStan error

parent 06a5bfbe
No related branches found
No related tags found
1 merge request!7993Issue #3185321: Only set a default name for the media item if mapped in the media source
......@@ -769,7 +769,7 @@ public function testWidgetUploadSetName(): void {
$file_system = $this->container->get('file_system');
$image = $this->getTestFiles('image')[0];
if (!isset($image)) {
if (is_null($image)) {
$this->fail('Expected test files not present.');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment