Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Change inline var PHPDoc syntax #990

Merged
merged 1 commit into from
Sep 6, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions app/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
use Doctrine\Common\Annotations\AnnotationRegistry;
use Composer\Autoload\ClassLoader;

/**
* @var ClassLoader $loader
*/
/** @var ClassLoader $loader */
$loader = require __DIR__.'/../vendor/autoload.php';

AnnotationRegistry::registerLoader(array($loader, 'loadClass'));
Expand Down
4 changes: 1 addition & 3 deletions app/console
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ use Symfony\Component\Debug\Debug;

set_time_limit(0);

/**
* @var Composer\Autoload\ClassLoader $loader
*/
/** @var \Composer\Autoload\ClassLoader $loader */
$loader = require __DIR__.'/autoload.php';

$input = new ArgvInput();
Expand Down
4 changes: 1 addition & 3 deletions web/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@

use Symfony\Component\HttpFoundation\Request;

/**
* @var Composer\Autoload\ClassLoader
*/
/** @var \Composer\Autoload\ClassLoader $loader */
$loader = require __DIR__.'/../app/autoload.php';
include_once __DIR__.'/../app/bootstrap.php.cache';

Expand Down
4 changes: 1 addition & 3 deletions web/app_dev.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
}

/**
* @var Composer\Autoload\ClassLoader $loader
*/
/** @var \Composer\Autoload\ClassLoader $loader */
$loader = require __DIR__.'/../app/autoload.php';
Debug::enable();

Expand Down