Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 196 Bytes

CircularReference.md

File metadata and controls

14 lines (9 loc) · 196 Bytes

CircularReference

Emitted when a class references itself as one of its parents

<?php

class A extends B {}
class B extends A {}

Why this is bad

The code above will not compile