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

Commit 019b6be

Browse files
committed
minor #990 Change inline var PHPDoc syntax (teohhanhui)
This PR was merged into the 2.8 branch. Discussion ---------- Change inline var PHPDoc syntax See https://github.com/phpDocumentor/fig-standards/blob/master/proposed/phpdoc.md#722-var (refer to the [examples](https://github.com/phpDocumentor/fig-standards/blob/master/proposed/phpdoc.md#examples-21)) Related previous PR: #571 (but there was no standard for inline `@var` at the time) Commits ------- 81ee81a Change inline var PHPDoc syntax
2 parents ed9f6b8 + 81ee81a commit 019b6be

File tree

4 files changed

+4
-12
lines changed

4 files changed

+4
-12
lines changed

app/autoload.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
use Doctrine\Common\Annotations\AnnotationRegistry;
44
use Composer\Autoload\ClassLoader;
55

6-
/**
7-
* @var ClassLoader $loader
8-
*/
6+
/** @var ClassLoader $loader */
97
$loader = require __DIR__.'/../vendor/autoload.php';
108

119
AnnotationRegistry::registerLoader(array($loader, 'loadClass'));

app/console

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ use Symfony\Component\Debug\Debug;
1111

1212
set_time_limit(0);
1313

14-
/**
15-
* @var Composer\Autoload\ClassLoader $loader
16-
*/
14+
/** @var \Composer\Autoload\ClassLoader $loader */
1715
$loader = require __DIR__.'/autoload.php';
1816

1917
$input = new ArgvInput();

web/app.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
use Symfony\Component\HttpFoundation\Request;
44

5-
/**
6-
* @var Composer\Autoload\ClassLoader
7-
*/
5+
/** @var \Composer\Autoload\ClassLoader $loader */
86
$loader = require __DIR__.'/../app/autoload.php';
97
include_once __DIR__.'/../app/bootstrap.php.cache';
108

web/app_dev.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818
exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
1919
}
2020

21-
/**
22-
* @var Composer\Autoload\ClassLoader $loader
23-
*/
21+
/** @var \Composer\Autoload\ClassLoader $loader */
2422
$loader = require __DIR__.'/../app/autoload.php';
2523
Debug::enable();
2624

0 commit comments

Comments
 (0)