aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Wells <brucekwells@gmail.com>2020-05-21 21:45:25 +0300
committerGitHub <noreply@github.com>2020-05-21 21:45:25 +0300
commit7852fc7d04bcdb3aa60384a1f6dddfd637fedd70 (patch)
treeb7a438dde94a5e506ec743c10df67090e31d7fb9
parent913cf0a1e8920dbcc18649fa173a0c7e6ba5d5ef (diff)
Packagist tag (#64)V2.0.1
* $variables should be private * Add Packagist tag
-rw-r--r--README.md2
-rw-r--r--src/NXP/MathExecutor.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 65b9dc2..0e13d9b 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# MathExecutor [![Build Status](https://travis-ci.org/NeonXP/MathExecutor.png?branch=master)](https://travis-ci.org/NeonXP/MathExecutor)
+# MathExecutor [![Build Status](https://travis-ci.org/NeonXP/MathExecutor.png?branch=master)](https://travis-ci.org/NeonXP/MathExecutor) [![Latest Packagist release](https://img.shields.io/packagist/v/nxp/math-executor.svg)](https://packagist.org/packages/nxp/math-executor)
# A simple and extensible math expressions calculator
diff --git a/src/NXP/MathExecutor.php b/src/NXP/MathExecutor.php
index 5fdc78f..9a45589 100644
--- a/src/NXP/MathExecutor.php
+++ b/src/NXP/MathExecutor.php
@@ -30,7 +30,7 @@ class MathExecutor
*
* @var array
*/
- public $variables = [];
+ private $variables = [];
/**
* @var Operator[]