<?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;
    }
}

<?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;
    }
}

--- 
+++ 
@@ -21,7 +21,7 @@
 
     /**
      * @param array $items
-     * @param Integer $totalItems
+     * @param \ValueObjects\Number\Integer $totalItems
      */
     public function __construct(array $items, Integer $totalItems)
     {
@@ -38,7 +38,7 @@
     }
 
     /**
-     * @return Integer
+     * @return \ValueObjects\Number\Integer
      */
     public function getTotalItems()
     {
III-680: Use complete class name for Integer type hinting in docblocks to prevent IDE confusion with int.
