Skip to content

Commit 6aa3f43

Browse files
committed
Cs fixes
1 parent 6c6b441 commit 6aa3f43

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

examples/client.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ function call($method, $url, $data = false) {
1616
return curl_exec($ch);
1717
}
1818

19-
$response = call('GET','http://localhost/api.php/posts?include=categories,tags,comments&filter=id,eq,1');
20-
$jsonObject = json_decode($response,true);
19+
$response = call('GET', 'http://localhost/api.php/posts?include=categories,tags,comments&filter=id,eq,1');
20+
$jsonObject = json_decode($response, true);
2121

2222
$jsonObject = php_crud_api_transform($jsonObject);
23-
$output = json_encode($jsonObject,JSON_PRETTY_PRINT);
23+
$output = json_encode($jsonObject, JSON_PRETTY_PRINT);
2424
?>
2525
<html>
2626
<head>
@@ -29,3 +29,4 @@ function call($method, $url, $data = false) {
2929
<pre><?php echo $output ?></pre>
3030
</body>
3131
</html>
32+

0 commit comments

Comments
 (0)