added type ints for other plugins

This commit is contained in:
Andreas Gohr 2017-02-14 10:20:47 +01:00
commit a1de3dc148
3 changed files with 4 additions and 2 deletions

View file

@ -239,6 +239,7 @@ $classWideContent = ($ACT === "show") ? "": "wide-content ";
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
/* User Tools and MagicMatcher Bar */ /* User Tools and MagicMatcher Bar */
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
/** @var \helper_plugin_magicmatcher_context $mm */
$mm = plugin_load('helper', 'magicmatcher_context'); $mm = plugin_load('helper', 'magicmatcher_context');
$navClass = ""; $navClass = "";
if($mm){ if($mm){

View file

@ -3,7 +3,7 @@
?> ?>
<?php <?php
/** @var \helper_plugin_qc $qc */ /** @var \helper_plugin_do $doPlugin */
$doPlugin = plugin_load('helper','do'); $doPlugin = plugin_load('helper','do');
/** @var \helper_plugin_qc $qc */ /** @var \helper_plugin_qc $qc */

View file

@ -13,6 +13,7 @@
}?> }?>
<?php /* tasks do Plug-In */ <?php /* tasks do Plug-In */
/** @var \helper_plugin_do $doplugin */
$doplugin = plugin_load('helper','do'); $doplugin = plugin_load('helper','do');
if ($doplugin !== null && isset($_SERVER['REMOTE_USER'])) { if ($doplugin !== null && isset($_SERVER['REMOTE_USER'])) {
$tasks = $doplugin->loadTasks(array('status' => array('undone'),'user' => $_SERVER['REMOTE_USER'])); $tasks = $doplugin->loadTasks(array('status' => array('undone'),'user' => $_SERVER['REMOTE_USER']));