Completed
Pull Request — master (#54)
by Daniel
07:21 queued 03:07
created
src/Standard/View/DateTimeType.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -47,6 +47,9 @@
 block discarded – undo
47 47
         ]);
48 48
     }
49 49
 
50
+    /**
51
+     * @return integer
52
+     */
50 53
     private function resolveFormat($format)
51 54
     {
52 55
         if (is_int($format)) {
Please login to merge, or discard this patch.
src/Standard/Field/DateField.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Psi\Component\ContentType\Standard\Field;
6 6
 
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
             'time_format' => null,
47 47
         ));
48 48
 
49
-        $options->setFormMapper(function (array $options) {
49
+        $options->setFormMapper(function(array $options) {
50 50
             return array_intersect_key($options, array_flip([
51 51
                 'format', 'date_format', 'widget', 'date_widget',
52 52
                 'time_widget', 'with_minutes', 'with_seconds', 'html5',
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
             ]));
55 55
         });
56 56
 
57
-        $options->setViewMapper(function (array $options) {
57
+        $options->setViewMapper(function(array $options) {
58 58
             return array_intersect_key($options, array_flip([
59 59
                 'date_format',
60 60
                 'time_format',
Please login to merge, or discard this patch.