Skip to content

Commit

Permalink
Merge pull request #3 from paugnu/master
Browse files Browse the repository at this point in the history
Add type to variables for compatibility with PHP7.3
  • Loading branch information
mrkhoa99 authored Apr 22, 2020
2 parents f690592 + bd875da commit f1cd851
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Model/Rule/DataProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,19 @@ class DataProvider extends AbstractDataProvider
/**
* DataProvider constructor.
*
* @param $name
* @param $primaryFieldName
* @param $requestFieldName
* @param string $name
* @param string $primaryFieldName
* @param string $requestFieldName
* @param CollectionFactory $collectionFactory
* @param ImageUploader $imageUploader
* @param Registry $registry
* @param array $meta
* @param array $data
*/
public function __construct(
$name,
$primaryFieldName,
$requestFieldName,
string $name,
string $primaryFieldName,
string $requestFieldName,
CollectionFactory $collectionFactory,
ImageUploader $imageUploader,
Registry $registry,
Expand Down

0 comments on commit f1cd851

Please sign in to comment.