This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(•_•) | |
( •_•)>⌐■-■ | |
(⌐■_■) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
childNodeFromParent: function(parentNode: TaxonomyNode, partialChild: Map<string, any>): Map<string, any> { | |
if (!partialChild.has("name")) { | |
throw Error("partialChild must contain a name key"); | |
} | |
let newName = partialChild.get("name"); | |
src/data/taxonomy.js:1238 | |
1238: let newName = partialChild.get("name"); | |
^^^^^^^^^^^^^^^^^^^^^^^^ call of method `get`. Function cannot be called on |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// derp | |
function_call(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#0 0x00000000020032a8 in bfd_elf64_slurp_reloc_table () | |
#1 0x0000000002005ec6 in _bfd_elf_canonicalize_reloc () | |
#2 0x0000000001c441ef in HPHP::StackTraceBase::Addr2line(char const*, char const*, HPHP::StackTraceBase::Frame*, void*, void*, unsigned int) () | |
#3 0x0000000001c44b8d in HPHP::StackTraceNoHeap::Translate(int, void*, int, void*, unsigned int) () | |
#4 0x0000000001c45197 in HPHP::StackTraceNoHeap::log(char const*, int, char const*, int) const () | |
#5 0x00000000009651c9 in HPHP::bt_handler(int) () | |
#6 <signal handler called> | |
#7 0x000000000097ae06 in HPHP::ObjectData::release() () | |
#8 0x000000000080d368 in HPHP::PackedArray::Release(HPHP::ArrayData*) () | |
#9 0x00000000009e5663 in HPHP::register_intercept(HPHP::String const&, HPHP::Variant const&, HPHP::Variant const&) () |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?hh | |
interface ExceptionWithCode { | |
public function getCode(); | |
} | |
class Checkout_Exception extends Exception implements ExceptionWithCode { | |
protected $data = []; | |
public function __construct($msg = "", $code = 0, $data = []) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Foo { | |
public function shape($bar, $baz) { | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?hh | |
class Wrapper<Tval as num> { | |
private Tval $value; | |
public function __construct(Tval $value) { | |
$this->value = $value; | |
} | |
public function setValue(Tval $value): void { | |
$this->value = $value; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?hh | |
class Wrapper<Tval as num> { | |
private Tval $value; | |
public function __construct(Tval $value) { | |
$this->value = $value; | |
} | |
public function setValue(Tval $value): void { | |
$this->value = $value; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hhvm.log.use_syslog = false | |
hhvm.log.use_cronolog = true | |
hhvm.log.use_log_file = true | |
hhvm.log.file = /var/log/hhvm/hhvm.log-%Y-%m-%d | |
hhvm.log.sym_link = /var/log/hhvm/hhvm.log | |
hhvm.log.always_escape_log = false | |
hhvm.log.header = true | |
hhvm.log.always_log_unhandled_exceptions = false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?hh // strict | |
class Caller { | |
public function set(string $property_name, Foo $object): void { | |
$object->$property_name = 'poopy'; | |
} | |
public function call(string $property_name, Foo $object): string { | |
return $object->$property_name; | |
} | |
} |