GitHub PullRequestReviewCommentEvent at 2014-04-02 17:01:52
Repository: Common
Actor: thiemowmde
Payload: {"comment":{"url":"https://api.github.com/repos/DataValues/Common/pulls/comments/11215446","id":11215446,"diff_hunk":"@@ -0,0 +1,57 @@\n+<?php\n+\n+namespace ValueFormatters\\Exceptions;\n+\n+use ValueFormatters\\FormattingException;\n+\n+/**\n+ * @since 0.2.1\n+ *\n+ * @licence GNU GPL v2+\n+ * @author Katie Filbert < aude.wiki@gmail.com >\n+ */\n+class DataValueTypeMismatchException extends FormattingException {\n+\n+\t/**\n+\t * @var string\n+\t */\n+\tprotected $expectedValueType;\n+\n+\t/**\n+\t * @var string\n+\t */\n+\tprotected $dataValueType;\n+\n+\t/**\n+\t * @param string $expectedValueType\n+\t * @param string $dataValueType\n+\t * @param string $message\n+\t * @param \\Exception $previous\n+\t */\n+\tpublic function __construct( $expectedValueType, $dataValueType, $message = '',\n+\t\t\\Exception $previous = null\n+\t) {\n+\t\t$this->expectedValueType = $expectedValueType;\n+\t\t$this->dataValueType = $dataValueType;\n+\n+\t\t$message = \"DataValueType $dataValueType does not match expected value \"","path":"src/ValueFormatters/Exceptions/DataValueTypeMismatchException.php","position":37,"original_position":37,"commit_id":"6d5b4770bfd204224da2d294a86a880e94b38e5d","original_commit_id":"6d5b4770bfd204224da2d294a86a880e94b38e5d","user":{"login":"thiemowmde","id":6576639,"avatar_url":"https://avatars.githubusercontent.com/u/6576639?","gravatar_id":"37a5d7555c26958a623057f5937bbe05","url":"https://api.github.com/users/thiemowmde","html_url":"https://github.com/thiemowmde","followers_url":"https://api.github.com/users/thiemowmde/followers","following_url":"https://api.github.com/users/thiemowmde/following{/other_user}","gists_url":"https://api.github.com/users/thiemowmde/gists{/gist_id}","starred_url":"https://api.github.com/users/thiemowmde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thiemowmde/subscriptions","organizations_url":"https://api.github.com/users/thiemowmde/orgs","repos_url":"https://api.github.com/users/thiemowmde/repos","events_url":"https://api.github.com/users/thiemowmde/events{/privacy}","received_events_url":"https://api.github.com/users/thiemowmde/received_events","type":"User","site_admin":false},"body":"Looks like DataValueType is a class.","created_at":"2014-04-02T17:01:52Z","updated_at":"2014-04-02T17:01:52Z","html_url":"https://github.com/DataValues/Common/pull/7#discussion_r11215446","pull_request_url":"https://api.github.com/repos/DataValues/Common/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/DataValues/Common/pulls/comments/11215446"},"html":{"href":"https://github.com/DataValues/Common/pull/7#discussion_r11215446"},"pull_request":{"href":"https://api.github.com/repos/DataValues/Common/pulls/7"}}}}