Passed
Pull Request — master (#3533)
by Martyn
06:03
created
sources/Load.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2956,7 +2956,7 @@  discard block
 block discarded – undo
2956 2956
 	if (is_null($timestamp))
2957 2957
 		$timestamp = time();
2958 2958
 
2959
-	$date_equivalents = array (
2959
+	$date_equivalents = array(
2960 2960
 		'%a' => 'D',
2961 2961
 		'%A' => 'l',
2962 2962
 		'%d' => 'd',
@@ -2965,7 +2965,7 @@  discard block
 block discarded – undo
2965 2965
 		'%u' => 'N',
2966 2966
 		'%w' => 'w',
2967 2967
 		// Week
2968
-		'%U' => '',	// Week Number of the given year
2968
+		'%U' => '', // Week Number of the given year
2969 2969
 		'%V' => 'W',
2970 2970
 		'%W' => '',
2971 2971
 		// Month
@@ -3008,7 +3008,7 @@  discard block
 block discarded – undo
3008 3008
 
3009 3009
 	$format = preg_replace_callback(
3010 3010
 		'/%[A-Za-z]{1}/',
3011
-		function($matches) use ($timestamp, $date_equivalents)
3011
+		function ($matches) use ($timestamp, $date_equivalents)
3012 3012
 		{
3013 3013
 			$new_format = str_replace(array_keys($date_equivalents), array_values($date_equivalents), $matches[0]);
3014 3014
 			return date($new_format, $timestamp);
Please login to merge, or discard this patch.