PHP Class Mmoreram\PHPFormatter\Fixer\StrictFixer

Inheritance: implements Mmoreram\PHPFormatter\Fixer\Interfaces\FixerInterface
Show file Open project: mmoreram/php-formatter Class Usage Examples

Protected Properties

Property Type Description
$strict string Strict

Public Methods

Method Description
__construct ( boolean $strict ) Construct method.
fix ( string $data ) : string Fix any piece of code given as parameter.

Method Details

__construct() public method

Construct method.
public __construct ( boolean $strict )
$strict boolean

fix() public method

Fix any piece of code given as parameter.
public fix ( string $data ) : string
$data string Data
return string Data fixed

Property Details

$strict protected property

Strict
protected string $strict
return string