Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 203 Bytes

MethodSignatureMustOmitReturnType.md

File metadata and controls

11 lines (8 loc) · 203 Bytes

MethodSignatureMustOmitReturnType

Emitted when a __clone, __construct, or __destruct method is defined with a return type.

<?php

class A {
    public function __clone() : void {}
}