Adapted for 0.9.0 from From 5eb5154fec8b3d3df666628ba2f3636c0fa385c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thiemo=20M=C3=A4ttig?= Date: Fri, 19 Dec 2014 12:45:34 +0100 Subject: [PATCH] Fix potential bugs and incomplete docs --- lib/Isomorphic.php | 2 +- lib/Parser/RdfPhp.php | 2 +- lib/Serialiser/Turtle.php | 2 +- lib/Sparql/Client.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Isomorphic.php b/lib/Isomorphic.php index ed3c5a30..ca3c59dd 100644 --- a/lib/EasyRdf/Isomorphic.php +++ b/lib/EasyRdf/Isomorphic.php @@ -96,7 +96,7 @@ public static function bijectionBetween($graphA, $graphB) if ($groundedStatementsMatch === false) { // The grounded statements do not match return null; - } elseif (count($bnodesA) > 0 or count($bnodesB > 0)) { + } elseif (count($bnodesA) > 0 or count($bnodesB) > 0) { // There are blank nodes - build a bi-jection return self::buildBijectionTo($statementsA, $bnodesA, $statementsB, $bnodesB); } else {