Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 155 Bytes

InvalidThrow.md

File metadata and controls

10 lines (7 loc) · 155 Bytes

InvalidThrow

Emitted when trying to throw a class that doesn't extend Exception or implement Throwable

<?php

class A {}
throw new A();