Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Parker committed Oct 3, 2016
2 parents badd9af + c89e0f5 commit 056e5b6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Liten/Liten.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Liten
/**
* @var string
*/
public $version = '1.0.5';
public $version = '1.0.6';

/**
* @var \Liten\Helper\Set
Expand Down
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
* Step 3: Include the routes needed
*/
// GET route
$app->get('/', function () {
$app->get('/', function () use($app) {
$template = <<<EOT
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
Expand Down Expand Up @@ -132,7 +132,7 @@
</tr>
</table>
<div data-signal-editable="Sociable" data-signal-content-type="layout" class="sociable"></div>
<div data-signal-editable="Sociable" data-signal-content-type="layout" class="sociable">version $app->version</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion tests/LitenTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class LitenTest extends \PHPUnit_Framework_TestCase

public function testMapRouting()
{
$app = Liten();
$app = new Liten();

$app->get('/foo/', function () {
return 'get foo';
Expand Down

0 comments on commit 056e5b6

Please sign in to comment.