src/Model.php
public function methodFail($errors = null)
    {
        if ($errors === null) {
            return $this->methodResult(false);
        }

        if (!is_array($errors)) {
            $errors = [$errors];
        }

        return $this->methodResult(false, ['errors' => $errors]);
    }
public function methodFail($errors = null)
    {
        if ($errors === null) {
            return $this->methodResult(false);
        }

        if (!is_array($errors)) {
            $errors = [$errors];
        }

        return $this->methodResult(false, ['errors' => $errors]);
    }
Standard method for returning  result from the method.

@param array $errors

@return array