specify $projectId parameter as int
This commit is contained in:
parent
6b761ddbbb
commit
55d0add9e7
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class TwingleApiCall {
|
||||||
*
|
*
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public function getProject($projectId = NULL) {
|
public function getProject(int $projectId = NULL) {
|
||||||
$response = [];
|
$response = [];
|
||||||
foreach ($this->organisationId as $organisationId) {
|
foreach ($this->organisationId as $organisationId) {
|
||||||
$url = empty($projectId)
|
$url = empty($projectId)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue