diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2014-04-16 12:30:19 +0200 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2014-04-16 12:30:19 +0200 |
commit | a6be31fc09c34a308c7a756b39e8a504a822694f (patch) | |
tree | ecf7561ca743f0a175d572057834942d4d88a54f /Acl | |
parent | 74eaf535ddcd6cad834c68e7802cfcb08f400c1e (diff) | |
download | symfony-security-a6be31fc09c34a308c7a756b39e8a504a822694f.zip symfony-security-a6be31fc09c34a308c7a756b39e8a504a822694f.tar.gz symfony-security-a6be31fc09c34a308c7a756b39e8a504a822694f.tar.bz2 |
fixed types in phpdocs
Diffstat (limited to 'Acl')
-rw-r--r-- | Acl/Dbal/AclProvider.php | 2 | ||||
-rw-r--r-- | Acl/Dbal/MutableAclProvider.php | 4 | ||||
-rw-r--r-- | Acl/Domain/PermissionGrantingStrategy.php | 4 | ||||
-rw-r--r-- | Acl/Model/AclInterface.php | 8 | ||||
-rw-r--r-- | Acl/Model/AuditableEntryInterface.php | 4 | ||||
-rw-r--r-- | Acl/Model/EntryInterface.php | 6 | ||||
-rw-r--r-- | Acl/Model/MutableAclInterface.php | 2 | ||||
-rw-r--r-- | Acl/Model/ObjectIdentityInterface.php | 2 | ||||
-rw-r--r-- | Acl/Model/PermissionGrantingStrategyInterface.php | 4 | ||||
-rw-r--r-- | Acl/Permission/MaskBuilder.php | 2 | ||||
-rw-r--r-- | Acl/Permission/PermissionMapInterface.php | 2 | ||||
-rw-r--r-- | Acl/Voter/AclVoter.php | 2 |
12 files changed, 21 insertions, 21 deletions
diff --git a/Acl/Dbal/AclProvider.php b/Acl/Dbal/AclProvider.php index d1b6198..9b0774b 100644 --- a/Acl/Dbal/AclProvider.php +++ b/Acl/Dbal/AclProvider.php @@ -374,7 +374,7 @@ QUERY; * Returns the primary key of the passed object identity. * * @param ObjectIdentityInterface $oid - * @return integer + * @return int */ final protected function retrieveObjectIdentityPrimaryKey(ObjectIdentityInterface $oid) { diff --git a/Acl/Dbal/MutableAclProvider.php b/Acl/Dbal/MutableAclProvider.php index 482f443..ae86060 100644 --- a/Acl/Dbal/MutableAclProvider.php +++ b/Acl/Dbal/MutableAclProvider.php @@ -673,7 +673,7 @@ QUERY; * If the type does not yet exist in the database, it will be created. * * @param string $classType - * @return integer + * @return int */ private function createOrRetrieveClassId($classType) { @@ -693,7 +693,7 @@ QUERY; * created. * * @param SecurityIdentityInterface $sid - * @return integer + * @return int */ private function createOrRetrieveSecurityIdentityId(SecurityIdentityInterface $sid) { diff --git a/Acl/Domain/PermissionGrantingStrategy.php b/Acl/Domain/PermissionGrantingStrategy.php index d031b34..0ca0785 100644 --- a/Acl/Domain/PermissionGrantingStrategy.php +++ b/Acl/Domain/PermissionGrantingStrategy.php @@ -130,7 +130,7 @@ class PermissionGrantingStrategy implements PermissionGrantingStrategyInterface * @param SecurityIdentityInterface[] $sids An array of SecurityIdentityInterface implementations * @param bool $administrativeMode True turns off audit logging * - * @return Boolean true, or false; either granting, or denying access respectively. + * @return bool true, or false; either granting, or denying access respectively. * * @throws NoAceFoundException */ @@ -191,7 +191,7 @@ class PermissionGrantingStrategy implements PermissionGrantingStrategyInterface * @param int $requiredMask * @param EntryInterface $ace * - * @return Boolean + * @return bool * * @throws \RuntimeException if the ACE strategy is not supported */ diff --git a/Acl/Model/AclInterface.php b/Acl/Model/AclInterface.php index 800eaa8..85a4e83 100644 --- a/Acl/Model/AclInterface.php +++ b/Acl/Model/AclInterface.php @@ -72,7 +72,7 @@ interface AclInterface extends \Serializable /** * Whether this ACL is inheriting ACEs from a parent ACL. * - * @return Boolean + * @return bool */ public function isEntriesInheriting(); @@ -83,7 +83,7 @@ interface AclInterface extends \Serializable * @param array $masks * @param array $securityIdentities * @param bool $administrativeMode - * @return Boolean + * @return bool */ public function isFieldGranted($field, array $masks, array $securityIdentities, $administrativeMode = false); @@ -94,7 +94,7 @@ interface AclInterface extends \Serializable * @param array $masks * @param array $securityIdentities * @param bool $administrativeMode - * @return Boolean + * @return bool */ public function isGranted(array $masks, array $securityIdentities, $administrativeMode = false); @@ -102,7 +102,7 @@ interface AclInterface extends \Serializable * Whether the ACL has loaded ACEs for all of the passed security identities * * @param mixed $securityIdentities an implementation of SecurityIdentityInterface, or an array thereof - * @return Boolean + * @return bool */ public function isSidLoaded($securityIdentities); } diff --git a/Acl/Model/AuditableEntryInterface.php b/Acl/Model/AuditableEntryInterface.php index e957965..509acda 100644 --- a/Acl/Model/AuditableEntryInterface.php +++ b/Acl/Model/AuditableEntryInterface.php @@ -21,14 +21,14 @@ interface AuditableEntryInterface extends EntryInterface /** * Whether auditing for successful grants is turned on * - * @return Boolean + * @return bool */ public function isAuditFailure(); /** * Whether auditing for successful denies is turned on * - * @return Boolean + * @return bool */ public function isAuditSuccess(); } diff --git a/Acl/Model/EntryInterface.php b/Acl/Model/EntryInterface.php index 98b754c..b33f1f0 100644 --- a/Acl/Model/EntryInterface.php +++ b/Acl/Model/EntryInterface.php @@ -31,14 +31,14 @@ interface EntryInterface extends \Serializable /** * The primary key of this ACE * - * @return integer + * @return int */ public function getId(); /** * The permission mask of this ACE * - * @return integer + * @return int */ public function getMask(); @@ -59,7 +59,7 @@ interface EntryInterface extends \Serializable /** * Returns whether this ACE is granting, or denying * - * @return Boolean + * @return bool */ public function isGranting(); } diff --git a/Acl/Model/MutableAclInterface.php b/Acl/Model/MutableAclInterface.php index d76c598..8993aa5 100644 --- a/Acl/Model/MutableAclInterface.php +++ b/Acl/Model/MutableAclInterface.php @@ -54,7 +54,7 @@ interface MutableAclInterface extends AclInterface /** * Returns the primary key of this ACL * - * @return integer + * @return int */ public function getId(); diff --git a/Acl/Model/ObjectIdentityInterface.php b/Acl/Model/ObjectIdentityInterface.php index 8ad0eba..2ee365f 100644 --- a/Acl/Model/ObjectIdentityInterface.php +++ b/Acl/Model/ObjectIdentityInterface.php @@ -28,7 +28,7 @@ interface ObjectIdentityInterface * Example for Object Equality: $object1->getId() === $object2->getId() * * @param ObjectIdentityInterface $identity - * @return Boolean + * @return bool */ public function equals(ObjectIdentityInterface $identity); diff --git a/Acl/Model/PermissionGrantingStrategyInterface.php b/Acl/Model/PermissionGrantingStrategyInterface.php index def5fd1..25f1687 100644 --- a/Acl/Model/PermissionGrantingStrategyInterface.php +++ b/Acl/Model/PermissionGrantingStrategyInterface.php @@ -25,7 +25,7 @@ interface PermissionGrantingStrategyInterface * @param array $masks * @param array $sids * @param bool $administrativeMode - * @return Boolean + * @return bool */ public function isGranted(AclInterface $acl, array $masks, array $sids, $administrativeMode = false); @@ -38,7 +38,7 @@ interface PermissionGrantingStrategyInterface * @param array $sids * @param bool $administrativeMode * - * @return Boolean + * @return bool */ public function isFieldGranted(AclInterface $acl, $field, array $masks, array $sids, $administrativeMode = false); } diff --git a/Acl/Permission/MaskBuilder.php b/Acl/Permission/MaskBuilder.php index c0d21ac..4d475fb 100644 --- a/Acl/Permission/MaskBuilder.php +++ b/Acl/Permission/MaskBuilder.php @@ -110,7 +110,7 @@ class MaskBuilder /** * Returns the mask of this permission * - * @return integer + * @return int */ public function get() { diff --git a/Acl/Permission/PermissionMapInterface.php b/Acl/Permission/PermissionMapInterface.php index 44c15cc..20ca181 100644 --- a/Acl/Permission/PermissionMapInterface.php +++ b/Acl/Permission/PermissionMapInterface.php @@ -34,7 +34,7 @@ interface PermissionMapInterface * Whether this map contains the given permission * * @param string $permission - * @return Boolean + * @return bool */ public function contains($permission); } diff --git a/Acl/Voter/AclVoter.php b/Acl/Voter/AclVoter.php index 5e9aee6..d401ef3 100644 --- a/Acl/Voter/AclVoter.php +++ b/Acl/Voter/AclVoter.php @@ -134,7 +134,7 @@ class AclVoter implements VoterInterface * * @param string $class The class name * - * @return Boolean + * @return bool */ public function supportsClass($class) { |