Page MenuHomeSealhub

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

Authored By
Unknown
Size
209 B
Referenced Files
None
Subscribers
None

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

<?php
class A {
public function u() {
$this->f();
}
public static function v() {
$this->f();
}
}
~~~~~~~~~~
error:3:7 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, 03:14 (22 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1218898
Default Alt Text
use-of-this-in-static-method.lint-test (209 B)

Event Timeline