Compatibility with php 5.6 #261

This commit is contained in:
Leo Germani 2019-10-11 19:36:01 -03:00
parent e1ede4074c
commit ab80b5d1d8
1 changed files with 2 additions and 2 deletions

View File

@ -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;