Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php final class PhabricatorCalendarImportDuplicateLogType extends PhabricatorCalendar..

Decoded Output download

<?php

final class PhabricatorCalendarImportDuplicateLogType
  extends PhabricatorCalendarImportLogType {

  const LOGTYPE = 'duplicate';

  public function getDisplayType(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    return pht('Duplicate Event');
  }

  public function getDisplayDescription(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    $duplicate_uid = $log->getParameter('uid.full');
    return pht(
      'Ignored duplicate event "%s" present in source.',
      $duplicate_uid);
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorCalendarImportDuplicateLogType
  extends PhabricatorCalendarImportLogType {

  const LOGTYPE = 'duplicate';

  public function getDisplayType(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    return pht('Duplicate Event');
  }

  public function getDisplayDescription(
    PhabricatorUser $viewer,
    PhabricatorCalendarImportLog $log) {
    $duplicate_uid = $log->getParameter('uid.full');
    return pht(
      'Ignored duplicate event "%s" present in source.',
      $duplicate_uid);
  }

}

Function Calls

None

Variables

None

Stats

MD5 e73bdd18157e0544a191650a28039c39
Eval Count 0
Decode Time 103 ms