Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
skyscrapers
/
wp-content
/
plugins
/
wordpress-seo
/
vendor
/
yoast
/
whip
/
src
/
Exceptions
:
InvalidType.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Yoast\WHIPv2\Exceptions; use Exception; /** * Class InvalidType. */ class InvalidType extends Exception { /** * InvalidType constructor. * * @param string $property Property name. * @param string $value Property value. * @param string $expectedType Expected property type. */ public function __construct( $property, $value, $expectedType ) { parent::__construct( \sprintf( '%s should be of type %s. Found %s.', $property, $expectedType, \gettype( $value ) ) ); } }