Page MenuHomeSealhub

use-of-this-in-static-method.lint-test
No OneTemporary

Authored By
Unknown
Size
216 B
Referenced Files
None
Subscribers
None

use-of-this-in-static-method.lint-test

<?php
final class A {
public function u() {
$this->f();
}
public static function v() {
$this->f();
}
}
~~~~~~~~~~
error:3:13 XHP19 Class-Filename Mismatch
error:8:5 Use of $this in a static method.

File Metadata

Mime Type
text/x-php
Expires
Sat, Nov 28, 02:13 (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1210668
Default Alt Text
use-of-this-in-static-method.lint-test (216 B)

Event Timeline