<?php
/**
 * @file
 */

namespace CultuurNet\UDB3\Search;

use ValueObjects\Number\Integer;

class Results
{
    /**
     * @var array
     */
    private $items;

    /**
     * @var Integer
     */
    private $totalItems;

    /**
     * @param array $items
     * @param Integer $totalItems
     */
    public function __construct(array $items, Integer $totalItems)
    {
        $this->items = $items;
        $this->totalItems = $totalItems;
    }

    /**
     * @return array
     */
    public function getItems()
    {
        return $this->items;
    }

    /**
     * @return Integer
     */
    public function getTotalItems()
    {
        return $this->totalItems;
    }
}

<?php
/**
 * @file
 */

namespace CultuurNet\UDB3\Search;

use ValueObjects\Number\Integer;

class Results
{
    /**
     * @var array
     */
    private $items;

    /**
     * @var Integer
     */
    private $totalItems;

    /**
     * @param array $items
     * @param \ValueObjects\Number\Integer $totalItems
     */
    public function __construct(array $items, Integer $totalItems)
    {
        $this->items = $items;
        $this->totalItems = $totalItems;
    }

    /**
     * @return array
     */
    public function getItems()
    {
        return $this->items;
    }

    /**
     * @return \ValueObjects\Number\Integer
     */
    public function getTotalItems()
    {
        return $this->totalItems;
    }
}

Use complete class name for Integer type hinting in docblocks to prevent IDE confusion with int.
III-680: Use complete class name for Integer type hinting in docblocks to prevent IDE confusion with int.
