Skip to content

Commit 06d10bb

Browse files
author
Chris Carlevato
committed
Add minor tweaks
1 parent 79c9416 commit 06d10bb

3 files changed

Lines changed: 4 additions & 8 deletions

File tree

_examples/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The following outlines a few usage options.
55
### Creating a session
66

77
```
8-
// Use Composer
8+
// Using Composer
99
require __DIR__ . '/vendor/autoload.php';
1010
$session = new Asdfdotdev\Session();
1111
$session->start();

_tests/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ From the `_tests/` directory run `$ ../vendor/bin/phpunit` to run the tests. Thi
1919
```
2020
PHPUnit 7.5.14 by Sebastian Bergmann and contributors.
2121
22-
............... 15 / 15 (100%)
22+
.............. 14 / 14 (100%)
2323
24-
Time: 1.97 seconds, Memory: 6.00 MB
24+
Time: 1.76 seconds, Memory: 6.00 MB
2525
26-
OK (15 tests, 42 assertions)
26+
OK (14 tests, 39 assertions)
2727
2828
Generating code coverage report in Clover XML format ... done
2929
```

src/Session.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -355,14 +355,10 @@ protected function validateFingerprint()
355355
$valid = $this->generateFingerprint();
356356

357357
if (!isset($print)) {
358-
359358
$this->setFingerprint();
360-
361359
} elseif ($print != $valid) {
362-
363360
$this->end();
364361
return false;
365-
366362
}
367363

368364
return true;

0 commit comments

Comments
 (0)