File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class RouteList extends Nette\Utils\ArrayList implements Nette\Application\IRout
2626
2727 public function __construct (string $ module = null )
2828 {
29- $ this ->module = $ module ? $ module . ': ' : '' ;
29+ $ this ->module = $ module ? $ module . ': ' : null ;
3030 }
3131
3232
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ public function checkRequirements($element): void
112112 */
113113 public static function getReflection (): ComponentReflection
114114 {
115- return new ComponentReflection (get_called_class () );
115+ return new ComponentReflection (static ::class );
116116 }
117117
118118
Original file line number Diff line number Diff line change @@ -1056,7 +1056,7 @@ public function restoreRequest(string $key): void
10561056 */
10571057 public static function getPersistentComponents (): array
10581058 {
1059- return (array ) ComponentReflection::parseAnnotation (new \ReflectionClass (get_called_class () ), 'persistent ' );
1059+ return (array ) ComponentReflection::parseAnnotation (new \ReflectionClass (static ::class ), 'persistent ' );
10601060 }
10611061
10621062
You can’t perform that action at this time.
0 commit comments