src/ModelAdminSnippet.php
public function removeExtraClasses($classes)
    {
        if (!is_array($classes)) {
            $classes = explode(" ", $classes);
        }

        foreach ($classes as $class) {
            if (isset($this->extra_classes[$class])) {
                unset($this->extra_classes[$class]);
            }
        }

        return $this;
    }
public function removeExtraClasses($classes)
    {
        if (!is_array($classes)) {
            $classes = explode(" ", $classes);
        }

        foreach ($classes as $class) {
            if (isset($this->extra_classes[$class])) {
                unset($this->extra_classes[$class]);
            }
        }

        return $this;
    }
public function removeExtraClasses ( $ classes ) { if ( ! is_array ( $ classes ) ) { $ classes = explode ( " " , $ classes ) ; } foreach ( $ classes as $ class ) { if ( isset ( $ this -> extra_classes [ $ class ] ) ) { unset ( $ this -> extra_classes [ $ class ] ) ; } } return $ this ; }
Remove provided CSS classes

@param  array|string  $extra_classes  extra CSS classes

@return  self
Remove provided CSS classes