Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F22401535
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
397 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:6:7
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Nov 27, 18:22 (2 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1228702
Default Alt Text
tostring-exception.lint-test (397 B)
Attached To
Mode
R118 Arcanist - fork
Attached
Detach File
Event Timeline