Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F22407375
useless-overriding-method.lint-test
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
573 B
Referenced Files
None
Subscribers
None
useless-overriding-method.lint-test
View Options
<?php
final class MyClass extends SomeOtherClass {
public function __construct() {
parent::__construct();
}
public function uselessMethod($x, array $y) {
return parent::uselessMethod($x, $y);
}
public function usefulMethod($x, array $y) {
return parent::usefulMethod($x, null);
}
public function anotherMethod($x, &$y) {
return parent::anotherMethod($x, $y);
}
public function usefulMethodWithDefaultValue($x = null) {
return parent::usefulMethodWithDefaultValue($x);
}
}
~~~~~~~~~~
error:3:13
advice:4:3
advice:8:3
advice:16:3
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Nov 27, 20:29 (3 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1209640
Default Alt Text
useless-overriding-method.lint-test (573 B)
Attached To
Mode
R118 Arcanist - fork
Attached
Detach File
Event Timeline