Skip to content

Commit c1eecda

Browse files
author
Dickriven Chellemboyee
committed
fix boolean type
1 parent f6cca63 commit c1eecda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Gitlab/Api/Projects.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function show($project_id, array $parameters = [])
9696
{
9797
$resolver = $this->createOptionsResolver();
9898
$booleanNormalizer = function (Options $resolver, $value) {
99-
return $value ? 'true' : 'false';
99+
return $value ? true : false;
100100
};
101101
$resolver->setDefined('statistics')
102102
->setAllowedTypes('statistics', 'bool')

0 commit comments

Comments
 (0)