Skip to content

Commit

Permalink
Fix typos, cleanup composer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
samdark committed Dec 11, 2021
1 parent 08cf272 commit b476fda
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions composer.json
Expand Up @@ -5,12 +5,12 @@
"keywords": [
"factory"
],
"homepage": "http://www.yiiframework.com/",
"homepage": "https://www.yiiframework.com/",
"license": "BSD-3-Clause",
"support": {
"issues": "https://github.com/yiisoft/factory/issues",
"forum": "http://www.yiiframework.com/forum/",
"wiki": "http://www.yiiframework.com/wiki/",
"forum": "https://www.yiiframework.com/forum/",
"wiki": "https://www.yiiframework.com/wiki/",
"irc": "irc://irc.freenode.net/yii",
"source": "https://github.com/yiisoft/factory"
},
Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/FactoryTest.php
Expand Up @@ -260,7 +260,7 @@ public function testCreateWithCallableParametersInConstructor(): void
$this->assertSame(42, $object->get());
}

public function testCreateWithInvalidParametersInCosntructor(): void
public function testCreateWithInvalidParametersInConstructor(): void
{
$container = new SimpleContainer();
$factory = new Factory($container);
Expand Down Expand Up @@ -1394,7 +1394,7 @@ public function testScalarConstructorArgument(): void
$factory->create(ScalarConstructorArgument::class);
}

public function testCreateWithDependecyNonExistInContainer(): void
public function testCreateWithNonExistingDependencyInContainer(): void
{
$factory = new Factory(new SimpleContainer(), [
ColorPink::class => ColorPink::class,
Expand Down

0 comments on commit b476fda

Please sign in to comment.