Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "rusticisoftware/tincan",
"name": "taylora/tincan",
"type": "library",
"description": "Experience API (Tin Can API) Library",
"homepage": "http://rusticisoftware.github.io/TinCanPHP/",
"homepage": "https://github.com/TayloraLMS/TinCanPHP",
"keywords": [
"tin can",
"tincan",
Expand Down
2 changes: 1 addition & 1 deletion src/Map.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ private function _unset($code) {
}

public function isEmpty() {
return count($this->_map) === 0;
return count((array)($this->_map)) === 0;
}

public function __call($func, $args) {
Expand Down