From c0a6051d3d88b9d44cef3a368de4dc331e4e2e6f Mon Sep 17 00:00:00 2001 From: Emmanuel Dreyfus <manu@netbsd.org> Date: Tue, 29 May 2018 13:48:24 +0200 Subject: [PATCH] We hear that assert should not use strings anymore (all SimpleSAMLphp source code should be updated, not only this contribution) --- lib/SimpleSAML/Metadata/MetaDataStorageHandlerPdo.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/SimpleSAML/Metadata/MetaDataStorageHandlerPdo.php b/lib/SimpleSAML/Metadata/MetaDataStorageHandlerPdo.php index 7731f3309..a7b6fe2bb 100644 --- a/lib/SimpleSAML/Metadata/MetaDataStorageHandlerPdo.php +++ b/lib/SimpleSAML/Metadata/MetaDataStorageHandlerPdo.php @@ -153,8 +153,8 @@ class SimpleSAML_Metadata_MetaDataStorageHandlerPdo extends SimpleSAML_Metadata_ */ public function getMetaData($entityId, $set) { - assert('is_string($entityId)'); - assert('is_string($set)'); + assert(is_string($entityId)); + assert(is_string($set)); $tableName = $this->getTableName($set); -- GitLab