aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2012-04-09 15:06:33 -0400
committerSteve Clay <steve@mrclay.org>2012-04-09 15:06:33 -0400
commit01c44e9002d03f58c9a5271c6256096de3273eb5 (patch)
tree562aa2062ab1576852b021918653f48d1d2ae059 /views/default
parentf1a0a4d5aa28753620552df9d5e88bd983d0aca4 (diff)
downloadelgg-01c44e9002d03f58c9a5271c6256096de3273eb5.tar.gz
elgg-01c44e9002d03f58c9a5271c6256096de3273eb5.tar.bz2
More PHPDoc comments and @var declarations to help IDE comprehension
Diffstat (limited to 'views/default')
-rw-r--r--views/default/icon/object/videolist_item.php1
-rw-r--r--views/default/object/videolist_item.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/views/default/icon/object/videolist_item.php b/views/default/icon/object/videolist_item.php
index 38b805021..24a5b5fe8 100644
--- a/views/default/icon/object/videolist_item.php
+++ b/views/default/icon/object/videolist_item.php
@@ -11,6 +11,7 @@
*/
$entity = $vars['entity'];
+/* @var ElggObject $entity */
$sizes = array('small', 'medium', 'large', 'tiny', 'master', 'topbar');
$img_width = array('tiny' => 25, 'small' => 40, 'medium' => 100, 'large' => 200);
diff --git a/views/default/object/videolist_item.php b/views/default/object/videolist_item.php
index 6ed284a43..e30d9d95b 100644
--- a/views/default/object/videolist_item.php
+++ b/views/default/object/videolist_item.php
@@ -7,6 +7,7 @@
$full = elgg_extract('full_view', $vars, FALSE);
$entity = elgg_extract('entity', $vars, FALSE);
+/* @var ElggObject $entity */
if (!$entity) {
return TRUE;