projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix a few comments
[civicrm-core.git]
/
CRM
/
Core
/
Smarty
/
Permissions.php
diff --git
a/CRM/Core/Smarty/Permissions.php
b/CRM/Core/Smarty/Permissions.php
index 377c10898a41315ee78c34ca07c68696212fee96..9e2f35b0062933231cb6ab8839b7ed562f32b177 100644
(file)
--- a/
CRM/Core/Smarty/Permissions.php
+++ b/
CRM/Core/Smarty/Permissions.php
@@
-1,9
+1,17
@@
<?php
<?php
+/**
+ * Class CRM_Core_Smarty_Permissions
+ */
class CRM_Core_Smarty_Permissions {
class CRM_Core_Smarty_Permissions {
- // non-static adapter for CRM_Core_Permission::check
- function check($offset) {
+ /**
+ * non-static adapter for CRM_Core_Permission::check
+ * @param $offset
+ *
+ * @return bool
+ */
+ public function check($offset) {
return CRM_Core_Permission::check($offset);
}
return CRM_Core_Permission::check($offset);
}
-}
\ No newline at end of file
+}