Artist is allowed to be null.
[rock.divinelegy.git] / Domain / Entities / StepMania / SimfileFactory.php
index eda0ea3..71a0dbc 100644 (file)
@@ -12,7 +12,7 @@ interface ISimfileFactory
 {\r
     public function createInstance(\r
         $title,\r
-        IArtist $artist,\r
+        IArtist $artist = null,\r
         IUser $uploader,\r
         IBPM $bpm,\r
         $bpmChanges,\r
@@ -30,7 +30,7 @@ class SimfileFactory implements ISimfileFactory
 {\r
     public function createInstance(\r
         $title,\r
-        IArtist $artist,\r
+        IArtist $artist = null,\r
         IUser $uploader,\r
         IBPM $bpm,\r
         $bpmChanges,\r