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;
955
955
public function getMethodSynopsisFilename (): string ;
956
956
public function getNameForAttributes (): string ;
957
957
public function __toString (): string ;
958
- public function isMethod (): bool ;
959
958
public function isConstructor (): bool ;
960
959
public function isDestructor (): bool ;
961
960
}
@@ -1018,10 +1017,6 @@ public function __toString(): string {
1018
1017
return $ this ->name ->toString ();
1019
1018
}
1020
1019
1021
- public function isMethod (): bool {
1022
- return false ;
1023
- }
1024
-
1025
1020
public function isConstructor (): bool {
1026
1021
return false ;
1027
1022
}
@@ -1067,10 +1062,6 @@ public function __toString(): string {
1067
1062
return "$ this ->className :: $ this ->methodName " ;
1068
1063
}
1069
1064
1070
- public function isMethod (): bool {
1071
- return true ;
1072
- }
1073
-
1074
1065
public function isConstructor (): bool {
1075
1066
return $ this ->methodName === "__construct " ;
1076
1067
}
@@ -1385,7 +1376,7 @@ public function __construct(
1385
1376
1386
1377
public function isMethod (): bool
1387
1378
{
1388
- return $ this ->name -> isMethod () ;
1379
+ return $ this ->name instanceof MethodName ;
1389
1380
}
1390
1381
1391
1382
public function isFinalMethod (): bool
You can’t perform that action at this time.
0 commit comments