Skip to content

Commit

Permalink
Cast boolean to strings
Browse files Browse the repository at this point in the history
  • Loading branch information
lasselehtinen committed Feb 7, 2019
1 parent 1741e3a commit 250fd0f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/Documents.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,16 @@ public function upload(
'name' => $name,
'title' => $title,
'tags' => $tags,
'commentsAllowed' => $commentsAllowed,
'commentsAllowed' => var_export($commentsAllowed, true),
'description' => $description,
'downloadable' => $downloadable,
'downloadable' => var_export($downloadable, true),
'infoLink' => $infoLink,
'language' => $language,
'access' => $access,
'explicit' => $explicit,
'explicit' => var_export($explicit, true),
'category' => $category,
'type' => $type,
'ratingAllowed' => $ratingAllowed,
'ratingAllowed' => var_export($ratingAllowed, true),
'publishDate' => $publishDate,
'folderIds' => $folderIds,
];
Expand Down Expand Up @@ -131,16 +131,16 @@ public function urlUpload(
'name' => $name,
'title' => $title,
'tags' => $tags,
'commentsAllowed' => $commentsAllowed,
'commentsAllowed' => var_export($commentsAllowed, true),
'description' => $description,
'downloadable' => $downloadable,
'downloadable' => var_export($downloadable, true),
'infoLink' => $infoLink,
'language' => $language,
'access' => $access,
'explicit' => $explicit,
'explicit' => var_export($explicit, true),
'category' => $category,
'type' => $type,
'ratingAllowed' => $ratingAllowed,
'ratingAllowed' => var_export($ratingAllowed, true),
'publishDate' => $publishDate,
'folderIds' => $folderIds,
];
Expand Down

0 comments on commit 250fd0f

Please sign in to comment.