src/Watchers/GateWatcher.php
private function formatArguments($arguments)
    {
        return collect($arguments)->map(function ($argument) {
            return $argument instanceof Model ? FormatModel::given($argument) : $argument;
        })->toArray();
    }
private function formatArguments($arguments)
    {
        return collect($arguments)->map(function ($argument) {
            return $argument instanceof Model ? FormatModel::given($argument) : $argument;
        })->toArray();
    }
private function formatArguments ( $ arguments ) { return collect ( $ arguments ) -> map ( function ( $ argument ) { return $ argument instanceof Model ? FormatModel :: given ( $ argument ) : $ argument ; } ) -> toArray ( ) ; }
Format the given arguments.

@param  array  $arguments
@return array
Format the given arguments .