Completed
Push — master ( 804aca...6de3ce )
by Lars
01:41
created
example/example_find_image_if_exists.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 
19 19
 $imageOrFalse = $document->findOneOrFalse('#test');
20 20
 if ($imageOrFalse !== false) {
21
-    echo $imageOrFalse->getAttribute('src') . "\n";
21
+    echo $imageOrFalse->getAttribute('src')."\n";
22 22
 }
23 23
 
24 24
 // -----------------------------------------------------------------------------
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
 $imageOrFalse = $document->findOneOrFalse('#non_test');
35 35
 if ($imageOrFalse !== false) {
36
-    echo $imageOrFalse->getAttribute('src') . "\n";
36
+    echo $imageOrFalse->getAttribute('src')."\n";
37 37
 }
38 38
 
39 39
 // -----------------------------------------------------------------------------
@@ -50,6 +50,6 @@  discard block
 block discarded – undo
50 50
 $imagesOrFalse = $document->findMultiOrFalse('.image_foo');
51 51
 if ($imagesOrFalse !== false) {
52 52
     foreach ($imagesOrFalse as $image) {
53
-        echo $image->getAttribute('src') . "\n";
53
+        echo $image->getAttribute('src')."\n";
54 54
     }
55 55
 }
56 56
\ No newline at end of file
Please login to merge, or discard this patch.