Skip to content

Commit 8171a78

Browse files
committed
Remove redundant constructors
1 parent 7794b54 commit 8171a78

File tree

4 files changed

+1
-16
lines changed

4 files changed

+1
-16
lines changed

src/Model/BasicContainer.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@
88

99
class BasicContainer extends Resource
1010
{
11-
public function __construct($path, $formats)
12-
{
13-
parent::__construct($path, $formats);
14-
}
15-
1611
/**
1712
* {@inheritdoc}
1813
*/

src/Model/NonRDFSource.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@
88

99
class NonRDFSource extends Resource
1010
{
11-
public function __construct($path, $formats)
12-
{
13-
parent::__construct($path, $formats);
14-
}
15-
1611
/**
1712
* {@inheritdoc}
1813
*/

src/Model/RDFSource.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@
88

99
class RDFSource extends Resource
1010
{
11-
public function __construct($path, $formats)
12-
{
13-
parent::__construct($path, $formats);
14-
}
15-
1611
/**
1712
* {@inheritdoc}
1813
*/

src/Model/Resource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ abstract class Resource
1818
* @param $formats array
1919
* the supported RDF formats
2020
*/
21-
protected function __construct($path, $formats)
21+
public function __construct($path, $formats)
2222
{
2323
$this->path = $path;
2424
$this->formats = $formats;

0 commit comments

Comments
 (0)