src/Http/Requests/SettingsUpdateRequest.php
public function sanitiseInput()
    {
        $source = $this->getInputSource();

        $data = $source->all();

        $data['post_is_published_default'] = filter_var(
            $this->post_is_published_default,
            FILTER_VALIDATE_BOOLEAN
        );

        $source->replace($data);
    }
public function sanitiseInput()
    {
        $source = $this->getInputSource();

        $data = $source->all();

        $data['post_is_published_default'] = filter_var(
            $this->post_is_published_default,
            FILTER_VALIDATE_BOOLEAN
        );

        $source->replace($data);
    }
Sanitise the input from the request.
In this case, the input is type casted where required.

@return void