Skip to content

Commit

Permalink
Fix parameter type
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenDeDauw committed Dec 7, 2018
1 parent 46c7645 commit a0d0f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SemanticMW/ValueDescriptions/AreaDescription.php
Expand Up @@ -31,7 +31,7 @@ class AreaDescription extends ValueDescription {

private $radius;

public function __construct( SMWDataItem $areaCenter, string $comparator, string $radius, DIProperty $property = null ) {
public function __construct( SMWDataItem $areaCenter, int $comparator, string $radius, DIProperty $property = null ) {
if ( !( $areaCenter instanceof SMWDIGeoCoord ) ) {
throw new InvalidArgumentException( '$areaCenter needs to be a SMWDIGeoCoord' );
}
Expand Down

0 comments on commit a0d0f08

Please sign in to comment.