Skip to content

Commit

Permalink
Reverted change in demo.php, increased version number
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskonnertz committed Aug 16, 2017
1 parent b08ae2c commit a43d339
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions dev/demo.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ function miniAutoloader($class)
<div class="block grammar">
<?php

$grammar = new \ChrisKonnertz\StringCalc\Grammar\StringCalcGrammar($stringCalc->getContainer());
echo $grammar->produceRandomWord();
$grammar = new \ChrisKonnertz\StringCalc\Grammar\StringCalcGrammar();
echo '<h4>Grammar rules</h4><pre>'.$grammar->__toString().'</pre>';

?>
Expand Down
2 changes: 1 addition & 1 deletion src/ChrisKonnertz/StringCalc/StringCalc.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class StringCalc
*
* @const string
*/
const VERSION = '1.0.7';
const VERSION = '1.0.8';

/**
* Closure that is called at the end of the grammar checking
Expand Down

0 comments on commit a43d339

Please sign in to comment.