Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F22421111
tostring-exception.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
396 B
Referenced Files
None
Subscribers
None
tostring-exception.lint-test
View Options
<?php
class MyClass {
public function __toString() {
if (some_function()) {
throw new Exception('Oops');
}
return __CLASS__;
}
}
class MyOtherClass {
public function __toString() {
return 'Success';
}
}
interface SomeInterface {
public function __toString();
}
abstract class SomeAbstractClass {
abstract public function __toString();
}
~~~~~~~~~~
error:5:7
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Nov 28, 03:05 (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1221789
Default Alt Text
tostring-exception.lint-test (396 B)
Attached To
Mode
R118 Arcanist - fork
Attached
Detach File
Event Timeline