Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c5756ad

Browse files
author
Matthew Smeets
committed
Removing redundant nullable
1 parent 02eb9fd commit c5756ad

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Symfony/Component/Debug/DebugClassLoader.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,10 @@ public static function disable()
128128
}
129129
}
130130

131-
public function findFile(string $class = null)
131+
/**
132+
* @param string $class
133+
*/
134+
public function findFile(string $class)
132135
{
133136
return $this->isFinder ? $this->classLoader[0]->findFile($class) ?: null : null;
134137
}

0 commit comments

Comments
 (0)