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}
@@ -1018,10 +1017,6 @@ public function __toString(): string {
10181017 return $ this ->name ->toString ();
10191018 }
10201019
1021- public function isMethod (): bool {
1022- return false ;
1023- }
1024-
10251020 public function isConstructor (): bool {
10261021 return false ;
10271022 }
@@ -1067,10 +1062,6 @@ public function __toString(): string {
10671062 return "$ this ->className :: $ this ->methodName " ;
10681063 }
10691064
1070- public function isMethod (): bool {
1071- return true ;
1072- }
1073-
10741065 public function isConstructor (): bool {
10751066 return $ this ->methodName === "__construct " ;
10761067 }
@@ -1387,7 +1378,7 @@ public function __construct(
13871378
13881379 public function isMethod (): bool
13891380 {
1390- return $ this ->name -> isMethod () ;
1381+ return $ this ->name instanceof MethodName ;
13911382 }
13921383
13931384 public function isFinalMethod (): bool
You can’t perform that action at this time.
0 commit comments