1<?php 2/** 3 * This file is part of phpDocumentor. 4 * 5 * For the full copyright and license information, please view the LICENSE 6 * file that was distributed with this source code. 7 * 8 * @copyright 2010-2015 Mike van Riel<mike@phpdoc.org> 9 * @license http://www.opensource.org/licenses/mit-license.php MIT 10 * @link http://phpdoc.org 11 */ 12 13namespace phpDocumentor\Reflection\Types; 14 15use phpDocumentor\Reflection\Type; 16 17/** 18 * Value Object representing the pseudo-type 'void'. 19 * 20 * Void is generally only used when working with return types as it signifies that the method intentionally does not 21 * return any value. 22 */ 23final class Void_ implements Type 24{ 25 /** 26 * Returns a rendered output of the Type as it would be used in a DocBlock. 27 * 28 * @return string 29 */ 30 public function __toString() 31 { 32 return 'void'; 33 } 34} 35