src/Database.php
public function truncateTables(array $tables): bool
    {
        $success = true;

        foreach ($tables as $table) {
            if ($this->truncateTable($table) === false) {
                $success = false;
            }
        }

        return $success;
    }
public function truncateTables(array $tables): bool
    {
        $success = true;

        foreach ($tables as $table) {
            if ($this->truncateTable($table) === false) {
                $success = false;
            }
        }

        return $success;
    }
public function truncateTables ( array $ tables ) : bool { $ success = true ; foreach ( $ tables as $ table ) { if ( $ this -> truncateTable ( $ table ) === false ) { $ success = false ; } } return $ success ; }
@param array $tables

@throws DatabaseException

@return bool
@param array $tables