src/Collection/Chain/SetBucketChain.php
public function current()
    {
        if ($this->current instanceof TerminalBucket) {
            return null;
        }

        /** @var ItemBucket $current */
        $current = $this->current;

        return $current->item();
    }
public function current()
    {
        if ($this->current instanceof TerminalBucket) {
            return null;
        }

        /** @var ItemBucket $current */
        $current = $this->current;

        return $current->item();
    }
public function current ( ) { if ( $ this -> current instanceof TerminalBucket ) { return null ; } /** @var ItemBucket $current */ $ current = $ this -> current ; return $ current -> item ( ) ; }
Retrieves the item from the current bucket

Returns null if the pointer is not at a valid offset.

@return mixed
Retrieves the item from the current bucket