@@ -14,9 +14,7 @@ public function iPhoneApp(string $name, string $iPhoneAppId, ?string $iPhoneAppU
1414 $ this ->setProperty (self ::PREFIX , 'app:name:iphone ' , $ name );
1515 $ this ->setProperty (self ::PREFIX , 'app:id:iphone ' , $ iPhoneAppId );
1616 if (! empty ($ iPhoneAppUrl )) {
17- if (str_contains ($ iPhoneAppUrl , ':// ' )) {
18- $ this ->setProperty (self ::PREFIX , 'app:url:iphone ' , $ iPhoneAppUrl );
19- }
17+ $ this ->setProperty (self ::PREFIX , 'app:url:iphone ' , $ iPhoneAppUrl );
2018 }
2119
2220 return $ this ;
@@ -27,9 +25,7 @@ public function iPadApp(string $name, string $iPadAppId, ?string $iPadAppUrl = n
2725 $ this ->setProperty (self ::PREFIX , 'app:name:ipad ' , $ name );
2826 $ this ->setProperty (self ::PREFIX , 'app:id:ipad ' , $ iPadAppId );
2927 if (! empty ($ iPadAppUrl )) {
30- if (str_contains ($ iPadAppUrl , ':// ' )) {
31- $ this ->setProperty (self ::PREFIX , 'app:url:ipad ' , $ iPadAppUrl );
32- }
28+ $ this ->setProperty (self ::PREFIX , 'app:url:ipad ' , $ iPadAppUrl );
3329 }
3430
3531 return $ this ;
@@ -40,9 +36,7 @@ public function googlePlayApp(string $name, string $googlePlayAppId, ?string $go
4036 $ this ->setProperty (self ::PREFIX , 'app:name:googleplay ' , $ name );
4137 $ this ->setProperty (self ::PREFIX , 'app:id:googleplay ' , $ googlePlayAppId );
4238 if (! empty ($ googlePlayAppUrl )) {
43- if (str_contains ($ googlePlayAppUrl , ':// ' )) {
44- $ this ->setProperty (self ::PREFIX , 'app:url:googleplay ' , $ googlePlayAppUrl );
45- }
39+ $ this ->setProperty (self ::PREFIX , 'app:url:googleplay ' , $ googlePlayAppUrl );
4640 }
4741
4842 return $ this ;
0 commit comments