@@ -242,7 +242,7 @@ public function updateAcl(MutableAclInterface $acl)
242
242
if (null === $ propertyChanges ['parentAcl ' ][1 ]) {
243
243
$ sets [] = 'parent_object_identity_id = NULL ' ;
244
244
} else {
245
- $ sets [] = 'parent_object_identity_id = ' .intval ( $ propertyChanges ['parentAcl ' ][1 ]->getId () );
245
+ $ sets [] = 'parent_object_identity_id = ' .( int ) $ propertyChanges ['parentAcl ' ][1 ]->getId ();
246
246
}
247
247
248
248
$ this ->regenerateAncestorRelations ($ acl );
@@ -453,7 +453,7 @@ class_id,
453
453
$ query ,
454
454
$ this ->options ['entry_table_name ' ],
455
455
$ classId ,
456
- null === $ objectIdentityId ? 'NULL ' : intval ( $ objectIdentityId) ,
456
+ null === $ objectIdentityId ? 'NULL ' : ( int ) $ objectIdentityId ,
457
457
null === $ field ? 'NULL ' : $ this ->connection ->quote ($ field ),
458
458
$ aceOrder ,
459
459
$ securityIdentityId ,
@@ -571,7 +571,7 @@ protected function getSelectAccessControlEntryIdSql($classId, $oid, $field, $ord
571
571
$ classId ,
572
572
null === $ oid ?
573
573
$ this ->connection ->getDatabasePlatform ()->getIsNullExpression ('object_identity_id ' )
574
- : 'object_identity_id = ' .intval ( $ oid) ,
574
+ : 'object_identity_id = ' .( int ) $ oid ,
575
575
null === $ field ?
576
576
$ this ->connection ->getDatabasePlatform ()->getIsNullExpression ('field_name ' )
577
577
: 'field_name = ' .$ this ->connection ->quote ($ field ),
@@ -812,7 +812,7 @@ private function updateNewFieldAceProperty($name, array $changes)
812
812
813
813
$ aceIdProperty = new \ReflectionProperty ('Symfony\Component\Security\Acl\Domain\Entry ' , 'id ' );
814
814
$ aceIdProperty ->setAccessible (true );
815
- $ aceIdProperty ->setValue ($ ace , intval ( $ aceId) );
815
+ $ aceIdProperty ->setValue ($ ace , ( int ) $ aceId );
816
816
} else {
817
817
$ currentIds [$ ace ->getId ()] = true ;
818
818
}
@@ -888,7 +888,7 @@ private function updateNewAceProperty($name, array $changes)
888
888
889
889
$ aceIdProperty = new \ReflectionProperty ($ ace , 'id ' );
890
890
$ aceIdProperty ->setAccessible (true );
891
- $ aceIdProperty ->setValue ($ ace , intval ( $ aceId) );
891
+ $ aceIdProperty ->setValue ($ ace , ( int ) $ aceId );
892
892
}
893
893
}
894
894
}
0 commit comments