@@ -5,7 +5,7 @@ |
||
5 | 5 | * @package chamilo.plugin.ims_lti |
6 | 6 | */ |
7 | 7 | |
8 | -if (!api_is_platform_admin()) { |
|
8 | +if (!api_is_platform_admin()) { |
|
9 | 9 | die ('You must have admin permissions to install plugins'); |
10 | 10 | } |
11 | 11 |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * @package chamilo.plugin.ims_lti |
6 | 6 | */ |
7 | 7 | |
8 | -if (!api_is_platform_admin()) { |
|
8 | +if (!api_is_platform_admin()) { |
|
9 | 9 | die ('You must have admin permissions to uninstall plugins'); |
10 | 10 | } |
11 | 11 |
@@ -13,7 +13,8 @@ |
||
13 | 13 | * @package Chamilo\CoreBundle\Entity\Repository |
14 | 14 | * @author Angel Fernando Quiroz Campos <[email protected]> |
15 | 15 | */ |
16 | -class TrackECourseAccessRepository extends EntityRepository { |
|
16 | +class TrackECourseAccessRepository extends EntityRepository |
|
17 | +{ |
|
17 | 18 | |
18 | 19 | /** |
19 | 20 | * Get the last registered access by an user |
@@ -8,7 +8,8 @@ |
||
8 | 8 | namespace Chamilo\ThemeBundle\Model; |
9 | 9 | |
10 | 10 | |
11 | -interface TaskInterface { |
|
11 | +interface TaskInterface |
|
12 | +{ |
|
12 | 13 | |
13 | 14 | public function getColor(); |
14 | 15 | public function getProgress(); |
@@ -13,7 +13,8 @@ |
||
13 | 13 | * |
14 | 14 | * @package Chamilo\ThemeBundle\Model |
15 | 15 | */ |
16 | -interface MenuItemInterface { |
|
16 | +interface MenuItemInterface |
|
17 | +{ |
|
17 | 18 | /** |
18 | 19 | * @return mixed |
19 | 20 | */ |
@@ -11,7 +11,8 @@ |
||
11 | 11 | |
12 | 12 | use Symfony\Component\HttpFoundation\Request; |
13 | 13 | |
14 | -class ExceptionController extends \Symfony\Bundle\TwigBundle\Controller\ExceptionController { |
|
14 | +class ExceptionController extends \Symfony\Bundle\TwigBundle\Controller\ExceptionController |
|
15 | +{ |
|
15 | 16 | |
16 | 17 | |
17 | 18 | /** |
@@ -15,7 +15,8 @@ |
||
15 | 15 | * Controller to handle breadcrumb display inside the layout |
16 | 16 | * |
17 | 17 | */ |
18 | -class BreadcrumbController extends Controller { |
|
18 | +class BreadcrumbController extends Controller |
|
19 | +{ |
|
19 | 20 | |
20 | 21 | |
21 | 22 | /** |
@@ -11,7 +11,8 @@ |
||
11 | 11 | use Symfony\Component\Config\Loader\Loader; |
12 | 12 | use Symfony\Component\Config\Loader\LoaderResolverInterface; |
13 | 13 | |
14 | -class MenuLoader extends Loader { |
|
14 | +class MenuLoader extends Loader |
|
15 | +{ |
|
15 | 16 | |
16 | 17 | /** |
17 | 18 | * Loads a resource. |
@@ -69,7 +69,8 @@ |
||
69 | 69 | if (!isset($this->registered[$id])) { |
70 | 70 | continue; |
71 | 71 | } // unregistered |
72 | - if (!$this->hasDependencies($id)) { // standalone |
|
72 | + if (!$this->hasDependencies($id)) { |
|
73 | +// standalone |
|
73 | 74 | $this->queued[] = $this->registered[$id]; |
74 | 75 | $this->resolved[$id] = true; |
75 | 76 |