Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Jul 26, 2023
1 parent 76ae0f5 commit 43bc6cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Fonts/Sprite.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ private function datumPoints():array {
if (!$this->_datumPoints) {
if (file_exists($this->pathToDatumPoints())) {
try {
$this->_datumPoints = df_json_decode(df_file_read($this->pathToDatumPoints()));
$this->_datumPoints = df_json_decode(df_contents($this->pathToDatumPoints()));
}
catch (\Exception $e) {
df_log($e);
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/google-font"
,"version": "1.3.1"
,"version": "1.3.2"
,"description": "Google Font API."
,"type": "magento2-module"
,"homepage": "https://github.com/mage2pro/google-font"
Expand All @@ -11,6 +11,6 @@
"homepage": "https://upwork.com/fl/mage2pro",
"role": "Developer"
}]
,"require": {"mage2pro/core": ">=9.0.5", "mage2pro/google": "*"}
,"require": {"mage2pro/core": ">=9.9.8", "mage2pro/google": "*"}
,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\GoogleFont\\": ""}}
}

0 comments on commit 43bc6cf

Please sign in to comment.