File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ function __construct(string $path) {$this->_path = $path; df_google_init_service
49
49
* @used-by self::probabilities()
50
50
*/
51
51
private function dominant ():Dominant {return dfc ($ this , function () {/** @var Dominant $r */
52
- $ f = df_file_read ($ this ->_path ); /** @var string $f */
52
+ $ f = df_contents ($ this ->_path ); /** @var string $f */
53
53
$ k = md5 ($ f . __CLASS__ ); /** @var string $k */
54
54
$ useCache = true ;
55
55
if ($ useCache && false !== ($ json = df_cache_load ($ k ))) { /** @var string|bool $resultS */
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " mage2pro/color"
3
- ,"version" : " 1.2.0 "
3
+ ,"version" : " 1.2.1 "
4
4
,"description" : " A product image color categorization module for Magento 2"
5
5
,"type" : " magento2-module"
6
6
,"homepage" : " https://mage2.pro/c/extensions/color"
11
11
,"homepage" : " https://upwork.com/fl/mage2pro"
12
12
,"role" : " Developer"
13
13
}]
14
- ,"require" : {"google/cloud-vision" : " *" , "mage2pro/core" : " >=9.0.2 " }
14
+ ,"require" : {"google/cloud-vision" : " *" , "mage2pro/core" : " >=9.9.8 " }
15
15
,"autoload" : {"files" : [" registration.php" ], "psr-4" : {"Dfe\\ Color\\ " : " " }}
16
16
,"keywords" : [
17
17
" eCommerce"
You can’t perform that action at this time.
0 commit comments