summaryrefslogtreecommitdiffstats
path: root/Acl/Model
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2014-04-16 12:30:19 +0200
committerFabien Potencier <fabien.potencier@gmail.com>2014-04-16 12:30:19 +0200
commita6be31fc09c34a308c7a756b39e8a504a822694f (patch)
treeecf7561ca743f0a175d572057834942d4d88a54f /Acl/Model
parent74eaf535ddcd6cad834c68e7802cfcb08f400c1e (diff)
downloadsymfony-security-a6be31fc09c34a308c7a756b39e8a504a822694f.zip
symfony-security-a6be31fc09c34a308c7a756b39e8a504a822694f.tar.gz
symfony-security-a6be31fc09c34a308c7a756b39e8a504a822694f.tar.bz2
fixed types in phpdocs
Diffstat (limited to 'Acl/Model')
-rw-r--r--Acl/Model/AclInterface.php8
-rw-r--r--Acl/Model/AuditableEntryInterface.php4
-rw-r--r--Acl/Model/EntryInterface.php6
-rw-r--r--Acl/Model/MutableAclInterface.php2
-rw-r--r--Acl/Model/ObjectIdentityInterface.php2
-rw-r--r--Acl/Model/PermissionGrantingStrategyInterface.php4
6 files changed, 13 insertions, 13 deletions
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);
}