Completed
Push — master ( e25986...ffddd1 )
by Craig
07:06
created
src/lib/Zikula/Bundle/FormExtensionBundle/Twig/Extension/FormExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
     /**
48 48
      * Returns a list of functions to add to the existing list.
49 49
      *
50
-     * @return array An array of functions
50
+     * @return \Twig_SimpleFunction[] An array of functions
51 51
      */
52 52
     public function getFunctions()
53 53
     {
Please login to merge, or discard this patch.
src/system/CategoriesModule/Form/Type/CategoryTreeType.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,6 @@
 block discarded – undo
112 112
     /**
113 113
      * Returns choices for category selection.
114 114
      *
115
-     * @param string $locale
116 115
      * @return array
117 116
      */
118 117
     private function getCategoryChoices($options)
Please login to merge, or discard this patch.
src/system/CategoriesModule/Tests/Form/Type/CategoriesTypeTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -326,6 +326,9 @@
 block discarded – undo
326 326
         }
327 327
     }
328 328
 
329
+    /**
330
+     * @param string $name
331
+     */
329 332
     protected function createRegistryMock($name, $em)
330 333
     {
331 334
         $registry = $this->getMockBuilder('Doctrine\Common\Persistence\ManagerRegistry')->getMock();
Please login to merge, or discard this patch.
src/system/RoutesModule/Form/Type/Base/AbstractRouteType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -413,7 +413,7 @@
 block discarded – undo
413 413
             ->setDefaults([
414 414
                 // define class for underlying data (required for embedding forms)
415 415
                 'data_class' => 'Zikula\RoutesModule\Entity\RouteEntity',
416
-                'empty_data' => function (FormInterface $form) {
416
+                'empty_data' => function(FormInterface $form) {
417 417
                     return $this->entityFactory->createRoute();
418 418
                 },
419 419
                 'error_mapping' => [
Please login to merge, or discard this patch.
src/system/RoutesModule/Helper/Base/AbstractViewHelper.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -248,9 +248,9 @@
 block discarded – undo
248 248
         // create name of the pdf output file
249 249
         $pageTitle = $this->controllerHelper->formatPermalink($this->themePageVars->get('title', ''));
250 250
         $fileTitle = $this->controllerHelper->formatPermalink($siteName)
251
-                   . '-'
252
-                   . ($pageTitle != '' ? $pageTitle . '-' : '')
253
-                   . date('Ymd') . '.pdf';
251
+                    . '-'
252
+                    . ($pageTitle != '' ? $pageTitle . '-' : '')
253
+                    . date('Ymd') . '.pdf';
254 254
     
255 255
         /*
256 256
         if (true === $this->request->query->getBoolean('dbg', false)) {
Please login to merge, or discard this patch.