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
}
@@ -1015,10 +1014,6 @@ public function __toString(): string {
1015
1014
return $ this ->name ->toString ();
1016
1015
}
1017
1016
1018
- public function isMethod (): bool {
1019
- return false ;
1020
- }
1021
-
1022
1017
public function isConstructor (): bool {
1023
1018
return false ;
1024
1019
}
@@ -1064,10 +1059,6 @@ public function __toString(): string {
1064
1059
return "$ this ->className :: $ this ->methodName " ;
1065
1060
}
1066
1061
1067
- public function isMethod (): bool {
1068
- return true ;
1069
- }
1070
-
1071
1062
public function isConstructor (): bool {
1072
1063
return $ this ->methodName === "__construct " ;
1073
1064
}
@@ -1384,7 +1375,7 @@ public function __construct(
1384
1375
1385
1376
public function isMethod (): bool
1386
1377
{
1387
- return $ this ->name -> isMethod () ;
1378
+ return $ this ->name instanceof MethodName ;
1388
1379
}
1389
1380
1390
1381
public function isFinalMethod (): bool
You can’t perform that action at this time.
0 commit comments