Skip to content

Commit e5f1dd8

Browse files
committed
Fix php-curl-class#48: Clean up syntax per PSR2
1 parent b84acca commit e5f1dd8

File tree

4 files changed

+227
-148
lines changed

4 files changed

+227
-148
lines changed

examples/flickr_photo_search.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
require '../src/Curl.class.php';
33

44

5-
function construct_url($photo, $size = 's', $ext = 'jpg') {
5+
function construct_url($photo, $size = 's', $ext = 'jpg')
6+
{
67
$url = 'http://farm' . $photo->farm . '.staticflickr.com/' . $photo->server . '/' .
78
$photo->id . '_' . $photo->secret . '_' . $size . '.' . $ext;
89

0 commit comments

Comments
 (0)