Skip to content

Commit 6babdcf

Browse files
author
Matt Humphrey
committed
Minor CS
1 parent ba1bb04 commit 6babdcf

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

lib/Gitlab/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function __construct($baseUrl, ClientInterface $httpClient = null)
8080
/**
8181
* @param string $name
8282
*
83-
* @return AbstractApi
83+
* @return AbstractApi|mixed
8484
* @throws InvalidArgumentException
8585
*/
8686
public function api($name)

lib/Gitlab/Model/Comparison.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ public function __construct(Project $project, Client $client = null)
7070
$this->setClient($client);
7171
$this->setData('project', $project);
7272
}
73-
}
73+
}

lib/Gitlab/Model/Contributor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ public function __construct(Project $project, Client $client = null)
4848
$this->setClient($client);
4949
$this->setData('project', $project);
5050
}
51-
}
51+
}

lib/Gitlab/Model/Diff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ public function __toString()
6262
{
6363
return $this->diff;
6464
}
65-
}
65+
}

lib/Gitlab/Model/Snippet.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function show()
6666
{
6767
$data = $this->api('snippets')->show($this->project->id, $this->id);
6868

69-
return static::fromArray($this->getClient(), $this, $data);
69+
return static::fromArray($this->getClient(), $this->project, $data);
7070
}
7171

7272
/**
@@ -77,7 +77,7 @@ public function update(array $params)
7777
{
7878
$data = $this->api('snippets')->update($this->project->id, $this->id, $params);
7979

80-
return static::fromArray($this->getClient(), $this, $data);
80+
return static::fromArray($this->getClient(), $this->project, $data);
8181
}
8282

8383
/**

0 commit comments

Comments
 (0)