File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -955,7 +955,6 @@ public function getArgInfoName(): string;
955955 public function getMethodSynopsisFilename (): string ;
956956 public function getNameForAttributes (): string ;
957957 public function __toString (): string ;
958- public function isMethod (): bool ;
959958 public function isConstructor (): bool ;
960959 public function isDestructor (): bool ;
961960}
@@ -1015,10 +1014,6 @@ public function __toString(): string {
10151014 return $ this ->name ->toString ();
10161015 }
10171016
1018- public function isMethod (): bool {
1019- return false ;
1020- }
1021-
10221017 public function isConstructor (): bool {
10231018 return false ;
10241019 }
@@ -1064,10 +1059,6 @@ public function __toString(): string {
10641059 return "$ this ->className :: $ this ->methodName " ;
10651060 }
10661061
1067- public function isMethod (): bool {
1068- return true ;
1069- }
1070-
10711062 public function isConstructor (): bool {
10721063 return $ this ->methodName === "__construct " ;
10731064 }
@@ -1384,7 +1375,7 @@ public function __construct(
13841375
13851376 public function isMethod (): bool
13861377 {
1387- return $ this ->name -> isMethod () ;
1378+ return $ this ->name instanceof MethodName ;
13881379 }
13891380
13901381 public function isFinalMethod (): bool
You can’t perform that action at this time.
0 commit comments