@@ -15,6 +15,9 @@ |
||
| 15 | 15 | $this->addLabelsSection($builder, $options); |
| 16 | 16 | } |
| 17 | 17 | |
| 18 | + /** |
|
| 19 | + * @param FormBuilderInterface $builder |
|
| 20 | + */ |
|
| 18 | 21 | private function addLabelsSection($builder, array $options) |
| 19 | 22 | { |
| 20 | 23 | $builder |
@@ -71,28 +71,28 @@ |
||
| 71 | 71 | return array(); |
| 72 | 72 | } |
| 73 | 73 | |
| 74 | - /** |
|
| 75 | - * @Route("/bootstrap/images") |
|
| 76 | - * @Template() |
|
| 77 | - */ |
|
| 74 | + /** |
|
| 75 | + * @Route("/bootstrap/images") |
|
| 76 | + * @Template() |
|
| 77 | + */ |
|
| 78 | 78 | public function imagesAction() |
| 79 | 79 | { |
| 80 | 80 | return array(); |
| 81 | 81 | } |
| 82 | 82 | |
| 83 | - /** |
|
| 84 | - * @Route("/bootstrap/helper-classes") |
|
| 85 | - * @Template() |
|
| 86 | - */ |
|
| 83 | + /** |
|
| 84 | + * @Route("/bootstrap/helper-classes") |
|
| 85 | + * @Template() |
|
| 86 | + */ |
|
| 87 | 87 | public function helperClassesAction() |
| 88 | 88 | { |
| 89 | 89 | return array(); |
| 90 | 90 | } |
| 91 | 91 | |
| 92 | - /** |
|
| 93 | - * @Route("/bootstrap/responsive-utilities") |
|
| 94 | - * @Template() |
|
| 95 | - */ |
|
| 92 | + /** |
|
| 93 | + * @Route("/bootstrap/responsive-utilities") |
|
| 94 | + * @Template() |
|
| 95 | + */ |
|
| 96 | 96 | public function responsiveUtilitiesAction() |
| 97 | 97 | { |
| 98 | 98 | return array(); |
@@ -91,14 +91,14 @@ |
||
| 91 | 91 | $item = (new MenuItem('foo.bar', $factory)) |
| 92 | 92 | ->setlabel('First!') |
| 93 | 93 | ->setUri( |
| 94 | - $this->generateUrl('sumocoders_frameworkexample_tutorial_custombreadcrumb') . '#first' |
|
| 94 | + $this->generateUrl('sumocoders_frameworkexample_tutorial_custombreadcrumb').'#first' |
|
| 95 | 95 | ); |
| 96 | 96 | |
| 97 | 97 | $breadCrumbBuilder->addItem($item); |
| 98 | 98 | $breadCrumbBuilder->addSimpleItem('Second'); |
| 99 | 99 | $breadCrumbBuilder->addSimpleItem( |
| 100 | 100 | 'Third', |
| 101 | - $this->generateUrl('sumocoders_frameworkexample_tutorial_custombreadcrumb') . '#third' |
|
| 101 | + $this->generateUrl('sumocoders_frameworkexample_tutorial_custombreadcrumb').'#third' |
|
| 102 | 102 | ); |
| 103 | 103 | |
| 104 | 104 | return array(); |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | 'fieldset_class' => 'col-xs-12 col-sm-6', |
| 22 | 22 | 'open_row' => true, |
| 23 | 23 | 'legend' => 'labels.label.example.fieldset.name', |
| 24 | - 'fields' => function (FormBuilderInterface $builder) { |
|
| 24 | + 'fields' => function(FormBuilderInterface $builder) { |
|
| 25 | 25 | $builder |
| 26 | 26 | ->add( |
| 27 | 27 | 'input', |
@@ -6,7 +6,7 @@ |
||
| 6 | 6 | /** |
| 7 | 7 | * @var $loader ClassLoader |
| 8 | 8 | */ |
| 9 | -$loader = require __DIR__ . '/../../../vendor/autoload.php'; |
|
| 9 | +$loader = require __DIR__.'/../../../vendor/autoload.php'; |
|
| 10 | 10 | |
| 11 | 11 | AnnotationRegistry::registerLoader(array($loader, 'loadClass')); |
| 12 | 12 | |
@@ -24,6 +24,6 @@ |
||
| 24 | 24 | public function registerContainerConfiguration(LoaderInterface $loader) |
| 25 | 25 | { |
| 26 | 26 | // We don't need that Environment stuff, just one config |
| 27 | - $loader->load(__DIR__ . '/config.yml'); |
|
| 27 | + $loader->load(__DIR__.'/config.yml'); |
|
| 28 | 28 | } |
| 29 | 29 | } |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | */ |
| 20 | 20 | public function load(array $configs, ContainerBuilder $container) |
| 21 | 21 | { |
| 22 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 22 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 23 | 23 | $loader->load('services.yml'); |
| 24 | 24 | } |
| 25 | 25 | } |