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 | |
/** | |
* Color Input Editable | |
*/ | |
namespace AppBundle\Model\Document\Tag; | |
use Pimcore\Model\Document\Tag\Input; | |
class Color extends Input |
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
/* eslint-disable no-underscore-dangle,prefer-rest-params */ | |
import Flickity from 'flickity'; | |
(() => { | |
const oldFlickityCreate = Flickity.prototype._create; | |
Flickity.prototype._create = function create() { | |
const that = this; | |
if (this.element.addEventListener) { |
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 | |
/** | |
* @param Twig_Environment $env - The Twig Environment - https://twig.symfony.com/api/1.x/Twig_Environment.html | |
* @param $config - Config of `@basalt/twig-renderer` | |
*/ | |
function addCustomExtension(\Twig_Environment &$env, $config) { | |
$env->addExtension(new \Twig_Extension_Debug()); | |
/** |
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 | |
declare(strict_types=1); | |
namespace Utils\Rector\Rector; | |
use PhpParser\Node; | |
use PhpParser\Node\Param; | |
use PhpParser\Node\Stmt\ClassMethod; | |
use Rector\Rector\AbstractRector; |
OlderNewer