upgrade to laravel 7 and set branch to v2

This commit is contained in:
2020-12-25 11:22:15 +00:00
parent 516105c492
commit 0ddd298350
4638 changed files with 132501 additions and 190226 deletions
+3 -3
View File
@@ -30,7 +30,7 @@ interface MetadataAwareInterface
*
* @return mixed The value that was set or an array with the domains/keys or null
*/
public function getMetadata($key = '', $domain = 'messages');
public function getMetadata(string $key = '', string $domain = 'messages');
/**
* Adds metadata to a message domain.
@@ -39,7 +39,7 @@ interface MetadataAwareInterface
* @param mixed $value The value
* @param string $domain The domain name
*/
public function setMetadata($key, $value, $domain = 'messages');
public function setMetadata(string $key, $value, string $domain = 'messages');
/**
* Deletes metadata for the given key and domain.
@@ -50,5 +50,5 @@ interface MetadataAwareInterface
* @param string $key The key
* @param string $domain The domain name
*/
public function deleteMetadata($key = '', $domain = 'messages');
public function deleteMetadata(string $key = '', string $domain = 'messages');
}