We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents def61e0 + 7a2a14d commit 70fc2aeCopy full SHA for 70fc2ae
src/AppBundle/Repository/Provider/InMemoryRepositoryProvider.php
@@ -41,7 +41,9 @@ public function __construct(array $repositories)
41
42
public function getRepository($repositoryName)
43
{
44
- return isset($this->repositories[$repositoryName]) ? $this->repositories[$repositoryName] : null;
+ $repository = strtolower($repositoryName);
45
+
46
+ return isset($this->repositories[$repository]) ? $this->repositories[$repository] : null;
47
}
48
49
public function getAllRepositories()
src/AppBundle/Repository/Repository.php
@@ -27,7 +27,7 @@ class Repository
27
private $subscribers;
28
29
/**
30
- * The webhook secret used by GitHub.
+ * The webhook secret used by GitHub.
31
*
32
* @var string
33
*/
0 commit comments