src/Migration/Adapter/Generator/PhinxMySqlGenerator.php
protected function prettifyArray(array $variable, int $tabCount): string
    {
        $encoder = new PHPEncoder();

        return $encoder->encode($variable, [
            'array.base' => $tabCount * 4,
            'array.inline' => true,
            'array.indent' => 4,
            'array.eol' => "\n",
        ]);
    }
protected function prettifyArray(array $variable, int $tabCount): string
    {
        $encoder = new PHPEncoder();

        return $encoder->encode($variable, [
            'array.base' => $tabCount * 4,
            'array.inline' => true,
            'array.indent' => 4,
            'array.eol' => "\n",
        ]);
    }
protected function prettifyArray ( array $ variable , int $ tabCount ) : string { $ encoder = new PHPEncoder ( ) ; return $ encoder -> encode ( $ variable , [ 'array.base' => $ tabCount * 4 , 'array.inline' => true , 'array.indent' => 4 , 'array.eol' => "\n" , ] ) ; }
Prettify array.

@param array $variable Array to prettify
@param int $tabCount Initial tab count

@return string
Prettify array .