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

Skip to content

Commit d1aea83

Browse files
author
Matthew Smeets
committed
Fixing possible FileLinkFormatter in register and removing reduntant docblocks
1 parent 6b0e323 commit d1aea83

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

src/Symfony/Component/Debug/DebugClassLoader.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,6 @@ public static function disable()
128128
}
129129
}
130130

131-
/**
132-
* @return string|null
133-
*/
134131
public function findFile(string $class = null)
135132
{
136133
return $this->isFinder ? $this->classLoader[0]->findFile($class) ?: null : null;
@@ -139,8 +136,6 @@ public function findFile(string $class = null)
139136
/**
140137
* Loads the given class or interface.
141138
*
142-
* @param string $class The name of the class
143-
*
144139
* @throws \RuntimeException
145140
*/
146141
public function loadClass(string $class)

src/Symfony/Component/Debug/ExceptionHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ public function __construct(bool $debug = true, string $charset = null, $fileLin
6060
*
6161
* @param bool $debug Enable/disable debug mode, where the stack trace is displayed
6262
* @param string|null $charset The charset used by exception messages
63-
* @param string|null $fileLinkFormat The IDE link template
63+
* @param string|FileLinkFormatter|null $fileLinkFormat The IDE link template
6464
*
6565
* @return static
6666
*/
67-
public static function register(bool $debug = true, string $charset = null, string $fileLinkFormat = null)
67+
public static function register(bool $debug = true, string $charset = null, $fileLinkFormat = null)
6868
{
6969
$handler = new static($debug, $charset, $fileLinkFormat);
7070

0 commit comments

Comments
 (0)