Minor phpcs fixes

This commit is contained in:
Jeroen Thora 2014-12-07 18:02:39 +01:00
parent 15551f2e85
commit 9a0d5c3e2e
7 changed files with 19 additions and 19 deletions

View File

@ -20,10 +20,10 @@ namespace Symfony\Component\EventDispatcher;
* You can call the method stopPropagation() to abort the execution of * You can call the method stopPropagation() to abort the execution of
* further listeners in your event listener. * further listeners in your event listener.
* *
* @author Guilherme Blanco <guilhermeblanco@hotmail.com> * @author Guilherme Blanco <guilhermeblanco@hotmail.com>
* @author Jonathan Wage <jonwage@gmail.com> * @author Jonathan Wage <jonwage@gmail.com>
* @author Roman Borschel <roman@code-factory.org> * @author Roman Borschel <roman@code-factory.org>
* @author Bernhard Schussek <bschussek@gmail.com> * @author Bernhard Schussek <bschussek@gmail.com>
* *
* @api * @api
*/ */

View File

@ -17,13 +17,13 @@ namespace Symfony\Component\EventDispatcher;
* Listeners are registered on the manager and events are dispatched through the * Listeners are registered on the manager and events are dispatched through the
* manager. * manager.
* *
* @author Guilherme Blanco <guilhermeblanco@hotmail.com> * @author Guilherme Blanco <guilhermeblanco@hotmail.com>
* @author Jonathan Wage <jonwage@gmail.com> * @author Jonathan Wage <jonwage@gmail.com>
* @author Roman Borschel <roman@code-factory.org> * @author Roman Borschel <roman@code-factory.org>
* @author Bernhard Schussek <bschussek@gmail.com> * @author Bernhard Schussek <bschussek@gmail.com>
* @author Fabien Potencier <fabien@symfony.com> * @author Fabien Potencier <fabien@symfony.com>
* @author Jordi Boggiano <j.boggiano@seld.be> * @author Jordi Boggiano <j.boggiano@seld.be>
* @author Jordan Alliot <jordan.alliot@gmail.com> * @author Jordan Alliot <jordan.alliot@gmail.com>
* *
* @api * @api
*/ */

View File

@ -17,10 +17,10 @@ namespace Symfony\Component\EventDispatcher;
* {@link getSubscribedEvents} and registers the subscriber as a listener for all * {@link getSubscribedEvents} and registers the subscriber as a listener for all
* returned events. * returned events.
* *
* @author Guilherme Blanco <guilhermeblanco@hotmail.com> * @author Guilherme Blanco <guilhermeblanco@hotmail.com>
* @author Jonathan Wage <jonwage@gmail.com> * @author Jonathan Wage <jonwage@gmail.com>
* @author Roman Borschel <roman@code-factory.org> * @author Roman Borschel <roman@code-factory.org>
* @author Bernhard Schussek <bschussek@gmail.com> * @author Bernhard Schussek <bschussek@gmail.com>
* *
* @api * @api
*/ */

View File

@ -191,7 +191,7 @@ class BinaryFileResponse extends Response
$path = $this->file->getRealPath(); $path = $this->file->getRealPath();
if (strtolower($type) == 'x-accel-redirect') { if (strtolower($type) == 'x-accel-redirect') {
// Do X-Accel-Mapping substitutions. // Do X-Accel-Mapping substitutions.
foreach (explode(',', $request->headers->get('X-Accel-Mapping', '')) as $mapping) { foreach (explode(',', $request->headers->get('X-Accel-Mapping', '')) as $mapping) {
$mapping = explode('=', $mapping, 2); $mapping = explode('=', $mapping, 2);
if (2 == count($mapping)) { if (2 == count($mapping)) {

View File

@ -164,7 +164,7 @@ class CurrencyDataGenerator extends AbstractDataGenerator
} }
/** /**
* @param $rootBundle * @param ArrayAccessibleResourceBundle $rootBundle
* *
* @return array * @return array
*/ */

View File

@ -186,7 +186,7 @@ class StringUtil
return $singulars; return $singulars;
} }
return $newBase.($firstUpper ? ucFirst($newSuffix) : $newSuffix); return $newBase.($firstUpper ? ucfirst($newSuffix) : $newSuffix);
} }
// Suffix is longer than word // Suffix is longer than word

View File

@ -361,7 +361,7 @@ class MutableAclProvider extends AclProvider implements MutableAclProviderInterf
protected function getDeleteAccessControlEntriesSql($oidPK) protected function getDeleteAccessControlEntriesSql($oidPK)
{ {
return sprintf( return sprintf(
'DELETE FROM %s WHERE object_identity_id = %d', 'DELETE FROM %s WHERE object_identity_id = %d',
$this->options['entry_table_name'], $this->options['entry_table_name'],
$oidPK $oidPK
); );