Skip to content

Commit

Permalink
comments and other things
Browse files Browse the repository at this point in the history
  • Loading branch information
oldwil19 committed Oct 30, 2019
1 parent aff96f8 commit 6cc121f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
8 changes: 6 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
{
"name": "root/htdocs",
"name": "poker/straight",
"type": "project",
"require": {},
"require": {
"php": "^7.2.1",
"phpunit/phpunit": "^8"
},
"autoload": {
"classmap": [
"src/"
]
},
"require-dev": {
"php": "^7.2.1",
"phpunit/phpunit": "^8"
},
"scripts": {
Expand Down
10 changes: 9 additions & 1 deletion src/PokerClass.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
<?php

final class PokerClass {
/**
* Class PokerClass
*/
final class PokerClass
{
/**
* @param array $cards
* @return bool
*/
public static function isStraight(array $cards)
{
$last = 0;
Expand Down

0 comments on commit 6cc121f

Please sign in to comment.