Completed
Push — master ( d65177...31f800 )
by cam
04:13
created
ecrire/inc/filtres_images_mini.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -333,11 +333,11 @@  discard block
 block discarded – undo
333 333
 	$process = 'AUTO'
334 334
 ) {
335 335
 	// PHP 7+ type hint
336
-	$img = (string)$img;
337
-	$taille_x = (int)$taille_x;
338
-	$taille_y = (int)$taille_y;
339
-	$force = (bool)$force;
340
-	$process = (string)$process;
336
+	$img = (string) $img;
337
+	$taille_x = (int) $taille_x;
338
+	$taille_y = (int) $taille_y;
339
+	$force = (bool) $force;
340
+	$process = (string) $process;
341 341
 
342 342
 	if (!$img) {
343 343
 		return '';
@@ -414,11 +414,11 @@  discard block
 block discarded – undo
414 414
 	$process = 'AUTO'
415 415
 ) {
416 416
 	// PHP 7+ type hint
417
-	$img = (string)$img;
418
-	$taille = (int)$taille;
419
-	$taille_y = (int)$taille_y;
420
-	$force = (bool)$force;
421
-	$process = (string)$process;
417
+	$img = (string) $img;
418
+	$taille = (int) $taille;
419
+	$taille_y = (int) $taille_y;
420
+	$force = (bool) $force;
421
+	$process = (string) $process;
422 422
 
423 423
 	// Determiner la taille x,y maxi
424 424
 	// prendre le reglage de previsu par defaut
@@ -463,9 +463,9 @@  discard block
 block discarded – undo
463 463
  **/
464 464
 function image_reduire_par($img, $val = 1, $force = false) {
465 465
 	// PHP 7+ type hint
466
-	$img = (string)$img;
467
-	$val = (int)$val;
468
-	$force = (bool)$force;
466
+	$img = (string) $img;
467
+	$val = (int) $val;
468
+	$force = (bool) $force;
469 469
 
470 470
 	list($hauteur, $largeur) = taille_image($img);
471 471
 
Please login to merge, or discard this patch.