[Poll] Added file headers

This commit is contained in:
Daniel
2020-11-10 02:01:31 +00:00
committed by Hugo Sales
parent ffb4b9df23
commit 50ec306243
6 changed files with 60 additions and 0 deletions

View File

@@ -30,6 +30,16 @@ use App\Util\Exception\RedirectException;
use Plugin\Poll\Forms\NewPollForm;
use Symfony\Component\HttpFoundation\Request;
/**
* Create a Poll
*
* @package GNUsocial
* @category PollPlugin
*
* @author Daniel Brandao <up201705812@fe.up.pt>
* @copyright 2020 Free Software Foundation, Inc http://www.fsf.org
* @license https://www.gnu.org/licenses/agpl.html GNU AGPL v3 or later
*/
const MAX_OPTS = 5;
const MIN_OPTS = 2;

View File

@@ -26,6 +26,16 @@ use App\Util\Common;
use App\Util\Exception\NotFoundException;
use Symfony\Component\HttpFoundation\Request;
/**
* Show a Poll
*
* @package GNUsocial
* @category PollPlugin
*
* @author Daniel Brandao <up201705812@fe.up.pt>
* @copyright 2020 Free Software Foundation, Inc http://www.fsf.org
* @license https://www.gnu.org/licenses/agpl.html GNU AGPL v3 or later
*/
class ShowPoll
{
/**