add phpdoc (#32136)

This commit is contained in:
Frédéric FRANCE 2024-11-29 14:47:33 +01:00 committed by GitHub
parent 34b2f25875
commit 4d885d1e34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,7 +14,11 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
/**
* @var Conf $conf
* @var Translate $langs
* @var string $servicename
*/
// Protection to avoid direct call of template
if (empty($conf) || !is_object($conf)) {
print "Error, template page can't be called as URL";