Skip to content

Commit

Permalink
Merge pull request #257 from ragol/small-improvements
Browse files Browse the repository at this point in the history
Small improvements
  • Loading branch information
njh committed Oct 31, 2015
2 parents 42f0ee2 + da060e1 commit f3b5d74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Serialiser.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ protected function checkSerialiseParams(&$graph, &$format)

if (is_null($format) or $format == '') {
throw new \InvalidArgumentException(
"\$format cannot be null or empty"
'$format cannot be null or empty'
);
} elseif (is_object($format) and ($format instanceof Format)) {
$format = $format->getName();
Expand Down
2 changes: 1 addition & 1 deletion lib/Serialiser/Arc.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class Arc extends RdfPhp
public function __construct()
{
if (!class_exists('ARC2')) {
throw new \EasyRdf\Exception('ARC2 dependency is not installed');
throw new Exception('ARC2 dependency is not installed');
}
}

Expand Down

0 comments on commit f3b5d74

Please sign in to comment.