From a36c9a988c4fca9f9b525477976192000d3ce605 Mon Sep 17 00:00:00 2001 From: Andrii Kasian Date: Mon, 2 Mar 2020 22:53:10 -0600 Subject: [PATCH] Explicitly define type for in condition --- test.php | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 test.php diff --git a/test.php b/test.php deleted file mode 100644 index cb6a19e52b4ec..0000000000000 --- a/test.php +++ /dev/null @@ -1,28 +0,0 @@ -getObjectManager(); - -$state = $om->get('Magento\Framework\App\State'); -$state->setAreaCode('frontend'); -$pc = $om->get(\Magento\Catalog\Model\ResourceModel\Product\Collection::class) - ->setPageSize(10) - ->load(); -var_dump($pc); - -// -///** @var \Magento\Eav\Model\Cache\Type $cache */ -//$cache = $om->get(\Magento\Eav\Model\Cache\Type::class); -//$i = 0; -//$d = 0; -//while (true) { -// echo '-\\|/'[$i % 4], "\r"; -// $key = "my_test_data" . $i++; -// $cache->save('data',$key , ['tag1', 'tag2' ], 1000); -// if ( 'data' !== $cache->load($key)) { -// $d ++; -// echo ' : Missread is - ' . number_format($d/$i, 2) , "\r"; -// } -//} \ No newline at end of file