File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
repo/domains/reuse/src/Domain/Services Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 99use Wikibase \DataModel \Snak \PropertyValueSnak ;
1010use Wikibase \DataModel \Snak \Snak ;
1111use Wikibase \DataModel \Snak \SnakList ;
12- use Wikibase \DataModel \Statement \Statement as StatementWriteModel ;
12+ use Wikibase \DataModel \Statement \Statement as DataModelStatement ;
1313use Wikibase \Repo \Domains \Reuse \Domain \Model \PredicateProperty ;
1414use Wikibase \Repo \Domains \Reuse \Domain \Model \PropertyValuePair ;
1515use Wikibase \Repo \Domains \Reuse \Domain \Model \Qualifiers ;
@@ -29,7 +29,7 @@ public function __construct(
2929 ) {
3030 }
3131
32- public function convert ( StatementWriteModel $ inputStatement ): Statement {
32+ public function convert ( DataModelStatement $ inputStatement ): Statement {
3333 $ guid = $ inputStatement ->getGuid ();
3434 if ( $ guid === null ) {
3535 throw new InvalidArgumentException ( 'Can only convert statements that have a non-null GUID ' );
You can’t perform that action at this time.
0 commit comments