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 baacf87 commit 78a2dd5Copy full SHA for 78a2dd5
src/Util/MakerFileLinkFormatter.php
@@ -19,12 +19,9 @@
19
*/
20
final class MakerFileLinkFormatter
21
{
22
- public function __construct(private ?FileLinkFormatter $fileLinkFormatter = null)
23
- {
24
- // Since nullable types are not available in 7.0; can be removed when php >= 7.1 required
25
- if (0 === \func_num_args()) {
26
- throw new \LogicException('$fileLinkFormatter argument is required');
27
- }
+ public function __construct(
+ private ?FileLinkFormatter $fileLinkFormatter = null,
+ ) {
28
}
29
30
public function makeLinkedPath(string $absolutePath, string $relativePath): string
0 commit comments