Passed
Pull Request — develop (#308)
by
unknown
05:43
created
src/fields/OptimizedImages.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -220,11 +220,11 @@
 block discarded – undo
220 220
                 // If the scenario is Asset::SCENARIO_FILEOPS or Asset::SCENARIO_MOVE (if using Craft > v3.7.1) treat it as a new asset
221 221
                 $scenario = $asset->getScenario();
222 222
 
223
-		$supportsMoveScenario = version_compare(
224
-			Craft::$app->getVersion(),
225
-			'3.7.1',
226
-			'>='
227
-		) === true;
223
+        $supportsMoveScenario = version_compare(
224
+            Craft::$app->getVersion(),
225
+            '3.7.1',
226
+            '>='
227
+        ) === true;
228 228
 
229 229
                 if ($isNew || $scenario === Asset::SCENARIO_FILEOPS || ($supportsMoveScenario && $scenario === Asset::SCENARIO_MOVE) ) {
230 230
                     /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -226,7 +226,7 @@
 block discarded – undo
226 226
 			'>='
227 227
 		) === true;
228 228
 
229
-                if ($isNew || $scenario === Asset::SCENARIO_FILEOPS || ($supportsMoveScenario && $scenario === Asset::SCENARIO_MOVE) ) {
229
+                if ($isNew || $scenario === Asset::SCENARIO_FILEOPS || ($supportsMoveScenario && $scenario === Asset::SCENARIO_MOVE)) {
230 230
                     /**
231 231
                      * If this is a newly uploaded/created Asset, we can save the variants
232 232
                      * via a queue job to prevent it from blocking
Please login to merge, or discard this patch.