private function calculateArtLength() : void
    {
        $this->artLength = (int) max(array_map('mb_strlen', explode("\n", $this->text)));
    }
private function calculateArtLength() : void
    {
        $this->artLength = (int) max(array_map('mb_strlen', explode("\n", $this->text)));
    }
private function calculateArtLength ( ) : void { $ this -> artLength = ( int ) max ( array_map ( 'mb_strlen' , explode ( "\n" , $ this -> text ) ) ) ; }
Calculate the length of the art
Calculate the length of the art