Skip to content

Commit

Permalink
Add a basic example to GitHub issue template
Browse files Browse the repository at this point in the history
  • Loading branch information
kylekatarnls committed Aug 12, 2018
1 parent 8a5106a commit 44df715
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE.md
Expand Up @@ -2,7 +2,7 @@ Hello,

I encountered an issue with the following code:
```php
p Some example
echo Carbon::parse('2018-06-01')->subDay()->month;
```
Carbon version: **PUT HERE YOUR COMPOSER CARBON VERSION**
PHP version: **PUT HERE YOUR PHP VERSION**
Expand All @@ -27,7 +27,7 @@ your issue.

I expected to get:
```
Expected output
6
```
<!--
Always give your expectations. Each use has their owns.
Expand All @@ -38,7 +38,7 @@ to be used in comparisons, someone else may not, etc.

But I actually get:
```
Actual output
5
```
<!--
If you did not succeed to get the same result in
Expand Down

0 comments on commit 44df715

Please sign in to comment.