Minor: Format code - refs BT#18201

pull/4368/head
Angel Fernando Quiroz Campos 3 years ago
parent 5eb254faac
commit be7b972132
  1. 7
      main/inc/lib/PortfolioController.php
  2. 2
      main/inc/lib/display.lib.php
  3. 6
      main/inc/lib/sortable_table.class.php

@ -10,9 +10,9 @@ use Chamilo\CoreBundle\Entity\Portfolio;
use Chamilo\CoreBundle\Entity\PortfolioAttachment;
use Chamilo\CoreBundle\Entity\PortfolioCategory;
use Chamilo\CoreBundle\Entity\PortfolioComment;
use Chamilo\CoreBundle\Entity\Tag;
use Chamilo\UserBundle\Entity\User;
use Doctrine\ORM\Query\Expr\Join;
use Mpdf\MpdfException;
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\HttpFoundation\Request as HttpRequest;
@ -2001,7 +2001,7 @@ class PortfolioController
}
/**
* @throws \MpdfException
* @throws MpdfException
*/
public function exportPdf(HttpRequest $httpRequest)
{
@ -2747,9 +2747,6 @@ class PortfolioController
private function createFormTagFilter(bool $listByUser = false): FormValidator
{
$em = Database::getManager();
$tagTepo = $em->getRepository(Tag::class);
$extraField = new ExtraField('portfolio');
$tagFieldInfo = $extraField->get_handler_field_info_by_tags('tags');

@ -2769,7 +2769,7 @@ HTML;
/**
* Returns the string "1 day ago" with a link showing the exact date time.
*
* @param string $dateTime in UTC or a DateTime in UTC
* @param string|DateTime $dateTime in UTC or a DateTime in UTC
*
* @return string
*/

@ -1003,9 +1003,9 @@ class SortableTable extends HTML_Table
* Add a filter to a column. If another filter was already defined for the
* given column, it will be overwritten.
*
* @param int $column The number of the column
* @param string $function The name of the filter-function. This should be a
* function wich requires 1 parameter and returns the filtered value.
* @param int $column The number of the column
* @param string|Closure $function The name of the filter-function. This should be a
* function wich requires 1 parameter and returns the filtered value.
*/
public function set_column_filter($column, $function)
{

Loading…
Cancel
Save