Passed
Push — master ( ea6437...0c63d3 )
by Sathish
03:02
created
src/Reports/UserReport.php 2 patches
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -55,9 +55,9 @@  discard block
 block discarded – undo
55 55
     }
56 56
 
57 57
     /**
58
-    * Returns columns names of the reports
59
-    * @return array
60
-    */
58
+     * Returns columns names of the reports
59
+     * @return array
60
+     */
61 61
     public function columns()
62 62
     {
63 63
         $fields = [
@@ -77,9 +77,9 @@  discard block
 block discarded – undo
77 77
     }
78 78
     
79 79
     /**
80
-    * Return a FieldList of the fields that can be used to filter
81
-    * @return array
82
-    */
80
+     * Return a FieldList of the fields that can be used to filter
81
+     * @return array
82
+     */
83 83
     public function parameterFields()
84 84
     {
85 85
         $member = Security::getCurrentUser() ? Security::getCurrentUser() : Member::create();
@@ -94,11 +94,11 @@  discard block
 block discarded – undo
94 94
     }
95 95
     
96 96
     /**
97
-    * @param string $start
98
-    * @param string $end
99
-    * @param string $firstName
100
-    * @return string
101
-    */
97
+     * @param string $start
98
+     * @param string $end
99
+     * @param string $firstName
100
+     * @return string
101
+     */
102 102
     public function FilterByDate($start, $end)
103 103
     {
104 104
         $filter = false;
@@ -113,10 +113,10 @@  discard block
 block discarded – undo
113 113
     }
114 114
 
115 115
     /**
116
-    * @param string $firstName
117
-    * @param string $filter
118
-    * @return string
119
-    */
116
+     * @param string $firstName
117
+     * @param string $filter
118
+     * @return string
119
+     */
120 120
     public function FilterByName($filter, $firstName)
121 121
     {
122 122
         if ($firstName) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
     public function FilterByName($filter, $firstName)
121 121
     {
122 122
         if ($firstName) {
123
-            $filter = ($filter)? $filter . " AND FirstName Like '%$firstName%'" : "FirstName Like '%$firstName%'";
123
+            $filter = ($filter) ? $filter." AND FirstName Like '%$firstName%'" : "FirstName Like '%$firstName%'";
124 124
         }
125 125
         return $filter;
126 126
     }
Please login to merge, or discard this patch.