From ab80b5d1d80be822ca765c49b05ad95481bc10b1 Mon Sep 17 00:00:00 2001 From: Leo Germani Date: Fri, 11 Oct 2019 19:36:01 -0300 Subject: [PATCH] Compatibility with php 5.6 #261 --- src/classes/repositories/class-tainacan-logs.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/classes/repositories/class-tainacan-logs.php b/src/classes/repositories/class-tainacan-logs.php index d7e5ed081..a1ddec024 100644 --- a/src/classes/repositories/class-tainacan-logs.php +++ b/src/classes/repositories/class-tainacan-logs.php @@ -603,7 +603,7 @@ class Logs extends Repository { } - public function pre_delete_entity( Entities\Entity $entity, bool $permanent) { + public function pre_delete_entity( Entities\Entity $entity, $permanent) { if ( ! $entity->get_repository()->use_logs ) { return; @@ -619,7 +619,7 @@ class Logs extends Repository { } - public function delete_entity( Entities\Entity $entity, bool $permanent) { + public function delete_entity( Entities\Entity $entity, $permanent) { if ( ! $entity->get_repository()->use_logs ) { return;