src/Traits/StatusesTrait.php
public function createStatus(string $status, array $options = null): array
    {
        $url = '/statuses';

        if (empty($options)) {
            $options = [];
        }

        $params = array_merge(['status' => $status,], $options);

        return $this->post($url, $params);
    }
public function createStatus(string $status, array $options = null): array
    {
        $url = '/statuses';

        if (empty($options)) {
            $options = [];
        }

        $params = array_merge(['status' => $status,], $options);

        return $this->post($url, $params);
    }
public function createStatus ( string $ status , array $ options = null ) : array { $ url = '/statuses' ; if ( empty ( $ options ) ) { $ options = [ ] ; } $ params = array_merge ( [ 'status' => $ status , ] , $ options ) ; return $ this -> post ( $ url , $ params ) ; }
Create new status

@param string $status
@param array  $options

@return array
Create new status