Skip to content

Commit f4cda3e

Browse files
committed
Remove Common\SaltGeneratorInterface #10
1 parent 9132e7a commit f4cda3e

File tree

3 files changed

+4
-18
lines changed

3 files changed

+4
-18
lines changed

src/WpTestsStarter/Common/SaltGenerator.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace WpTestsStarter\Common;
66

7-
class SaltGenerator implements SaltGeneratorInterface
7+
class SaltGenerator
88
{
99
/**
1010
* Generates random strings using all ascii chars between

src/WpTestsStarter/Common/SaltGeneratorInterface.php

-14
This file was deleted.

src/WpTestsStarter/WpTestsStarter.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class WpTestsStarter
1212
private $baseDir;
1313

1414
/**
15-
* @type Common\SaltGeneratorInterface
15+
* @type Common\SaltGenerator
1616
*/
1717
private $saltGenerator;
1818

@@ -29,9 +29,9 @@ class WpTestsStarter
2929
* the inpsyde/wordpress-dev package
3030
*
3131
* @param string $baseDir
32-
* @param Common\SaltGeneratorInterface $saltGenerator
32+
* @param Common\SaltGenerator $saltGenerator
3333
*/
34-
public function __construct($baseDir, Common\SaltGeneratorInterface $saltGenerator = null)
34+
public function __construct($baseDir, Common\SaltGenerator $saltGenerator = null)
3535
{
3636
$this->baseDir = rtrim($baseDir, '\\/');
3737
if (!$saltGenerator) {

0 commit comments

Comments
 (0)