Completed
Pull Request — master (#3)
by Christian
02:19
created
tests/Unit/Repository/StatementRepositoryTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
             ->expects($this->once())
77 77
             ->method('storeMappedStatement')
78 78
             ->with(
79
-                $this->callback(function (MappedStatement $mappedStatement) use ($self, $statement) {
79
+                $this->callback(function(MappedStatement $mappedStatement) use ($self, $statement) {
80 80
                     return $self->assertMappedStatement(
81 81
                         MappedStatement::createFromModel($statement),
82 82
                         $mappedStatement
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
             ->expects($this->once())
98 98
             ->method('storeMappedStatement')
99 99
             ->with(
100
-                $this->callback(function (MappedStatement $mappedStatement) use ($self, $statement) {
100
+                $this->callback(function(MappedStatement $mappedStatement) use ($self, $statement) {
101 101
                     return $self->assertMappedStatement(
102 102
                         MappedStatement::createFromModel($statement),
103 103
                         $mappedStatement
Please login to merge, or discard this patch.
src/Mapping/Statement.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use Xabbuh\XApi\Model\Statement as StatementModel;
15 15
 use Xabbuh\XApi\Model\StatementId;
16
-use Xabbuh\XApi\Model\StatementReference;
17 16
 
18 17
 /**
19 18
  * A {@link Statement} mapped to a storage backend.
Please login to merge, or discard this patch.